Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/run permissions - issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Thu Jan 03, 2013 3:14 am    Post subject: /var/run permissions - issues Reply with quote

I am having issues with /var/run permissions after upgrading my server

Firstly mysql server would not start because it was not able to create a sock file in /var/run/mysqld/ ... I work around this by modding the init script creating /var/run/mysqld and chmod 777 /var/run/mysqld -R

Next I had problems with clamav....its was creating /var/run/clamav/clamd.sock with world writable permissions so sendmail would then complainand fail to start ... I work around this by modding the init script with a chmod 744 /var/run/clamav/ -R

I have recently done emerge -u world and upgraded to kernel 3.6

Am I doing something wrong ? Has something changed that I need to know about ?
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 229
Location: Detroit, MI, USA

PostPosted: Thu Jan 03, 2013 3:23 am    Post subject: Reply with quote

If you just upgraded to openrc-0.11.8, you are probably running into the /run issue. /var/run is now a symlink to /run, and /run is a tmpfs that disappears on every reboot.

End result: if the init script doesn't create directories and set permissions properly, stuff breaks. Please search bugzilla and file a bug for any packages that have issues.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Thu Jan 03, 2013 10:11 am    Post subject: Reply with quote

This issue has been fixed in clamav-0.97.6-r1 and clamav-0.97.6-r2
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Fri Jan 04, 2013 6:53 am    Post subject: Reply with quote

ok thanks for the info.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum