On Fri, 2010-12-31 at 12:29 +0000, Steven Chamberlain wrote:
> On kfreebsd-i386, installing the syslog-ng package with its default
> configuration files, sets the permissions of system log files including
> /var/log/messages, daemon.log, auth.log and perhaps others to
> -rwsrwsrwt.  This happens whether the files previously existed or not.
 While I don't know syslog-ng internals, I made some debug. It seems
syslog-ng uses chmod and derivatives only on three locations. During
install, only one of it is fired. It's src/afunix.c in afunix_sd_init():
it chmods /var/run/log to 0666.
Even ktrace didn't help me. The only chmod that can be suspicious in its
output:
chmod(0x679aa0,<invalid>438)
But it may refer to the error message printed on the screen:
mknod `/dev/console': Operation not supported

Laszlo/GCS




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to