[Bug 1075901] Re: Incorrect ownership or permissions for spool/work directory
Brian Murray
brian at ubuntu.com
Thu Sep 19 20:15:41 UTC 2013
Hello Haw, or anyone else affected,
Accepted rsyslog into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/rsyslog/5.8.6-1ubuntu8.5 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: rsyslog (Ubuntu Precise)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsyslog in Ubuntu.
https://bugs.launchpad.net/bugs/1075901
Title:
Incorrect ownership or permissions for spool/work directory
Status in Rsyslog:
Fix Released
Status in “rsyslog” package in Ubuntu:
Fix Released
Status in “rsyslog” source package in Precise:
Fix Committed
Bug description:
Impact:
/var/spool/rsyslog has wrong ownership/permissions
Test Case:
ls -ld /var/spool/rsyslog -> should be owned by syslog:adm
Regression Potential:
Limited, the old permissions were wrong, it's still a change in behaviour though...
---
Hi,
By default, the spool/work directory is as follows:
drwxr-xr-x 2 root root 4096 Mar 8 2012 /var/spool/rsyslog
This is incorrect as rsyslog drops root privileges and changes to the
syslog user. As tested, spool files are also written out as the syslog
user:
root at juju-canonistack-haw-instance-1:/var/spool/rsyslog# ls -la
total 16
drwxrwxrwx 2 syslog adm 4096 Nov 7 09:20 .
drwxr-xr-x 6 root root 4096 Nov 7 06:46 ..
-rw------- 1 syslog syslog 1603 Nov 7 09:20 srvrfwd.00000001
-rw------- 1 syslog syslog 482 Nov 7 09:20 srvrfwd.qi
The version of rsyslog used is as follows:
root at juju-canonistack-haw-instance-1:/var/spool# dpkg -l | grep rsyslog
ii rsyslog 5.8.6-1ubuntu8 reliable system and kernel logging daemon
ii rsyslog-relp 5.8.6-1ubuntu8 RELP protocol support for rsyslog
Could we please have this fixed?
Thanks,
Haw
To manage notifications about this bug go to:
https://bugs.launchpad.net/rsyslog/+bug/1075901/+subscriptions
More information about the foundations-bugs
mailing list