View previous topic :: View next topic |
Author |
Message |
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Thu Jan 03, 2013 3:14 am Post subject: /var/run permissions - issues |
|
|
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 |
|
|
floppymaster Developer
Joined: 07 Jul 2010 Posts: 229 Location: Detroit, MI, USA
|
Posted: Thu Jan 03, 2013 3:23 am Post subject: |
|
|
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 |
|
|
Robert S Guru
Joined: 15 Aug 2004 Posts: 460 Location: Canberra Australia
|
Posted: Thu Jan 03, 2013 10:11 am Post subject: |
|
|
This issue has been fixed in clamav-0.97.6-r1 and clamav-0.97.6-r2 |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Fri Jan 04, 2013 6:53 am Post subject: |
|
|
ok thanks for the info. |
|
Back to top |
|
|
|