[Bug 1075901] Re: Incorrect ownership or permissions for spool/work directory
Haw Loeung
1075901 at bugs.launchpad.net
Fri Sep 20 08:25:26 UTC 2013
Hi Brian,
The latest version of rsyslog (5.8.6-1ubuntu8.5) seems to do the right
thing to me.
ubuntu at hloeung-testing:~$ ls -lad /var/spool/rsyslog
drwxr-xr-x 2 syslog adm 4096 Mar 30 2012 /var/spool/rsyslog
Thanks,
Haw
** Tags removed: verification-needed
** Tags added: verification-done
--
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