[Bug 1075901] Re: Incorrect ownership or permissions for spool/work directory

Launchpad Bug Tracker 1075901 at bugs.launchpad.net
Fri Sep 27 11:01:30 UTC 2013


This bug was fixed in the package rsyslog - 5.8.6-1ubuntu8.5

---------------
rsyslog (5.8.6-1ubuntu8.5) precise; urgency=low

  * debian/rsyslog.postinst: fix ownership of /var/spool/rsyslog (LP: #1075901)
 -- Haw Loeung (hloeung) <haw.loeung at canonical.com>   Wed, 04 Sep 2013 16:34:36 +1100

** Changed in: rsyslog (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
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 Released

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