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

Sebastien Bacher seb128 at ubuntu.com
Fri Nov 30 16:30:41 UTC 2012


** Also affects: rsyslog (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: rsyslog (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: rsyslog (Ubuntu Precise)
       Status: New => In Progress

** Description changed:

+ 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

-- 
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:
  In Progress

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