FS#15095 - [syslog-ng] Logfiles owned by wrong group after install
Attached to Project:
Arch Linux
Opened by Magnus Therning (magus) - Saturday, 13 June 2009, 20:32 GMT
Last edited by Allan McRae (Allan) - Sunday, 12 July 2009, 13:47 GMT
Opened by Magnus Therning (magus) - Saturday, 13 June 2009, 20:32 GMT
Last edited by Allan McRae (Allan) - Sunday, 12 July 2009, 13:47 GMT
|
Details
Description: After a new installation the files in /var/log
are owned by root:root, despite the configuration of
syslog-ng saying that they should be of the group log.
Stopping syslog-ng, removing the log files in /var/log, and then starting syslog-ng will cause the creation of the log files, with the expected group. This suggests that either a misconfigured syslog-ng creates the files during install, or that some other tool creates them. After that syslog-ng won't modify the group of any existing files. Additional info: * syslog-ng 3.0.1-6 Steps to reproduce: Perform a new install and list the files in /var/log |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 12 July 2009, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.3-1
Sunday, 12 July 2009, 13:47 GMT
Reason for closing: Fixed
Additional comments about closing: 3.0.3-1
# id
uid=0(root) gid=0(root)
# ls -l /var/log/syslog.log
ls: cannot access /var/log/syslog.log: No such file or directory
# /usr/sbin/syslog-ng
# ls -l /var/log/syslog.log
-rw-r----- 1 root root 79 2009-07-12 02:25 /var/log/syslog.log
Anyway the problem is fixed in 3.0.3 ;)