Package: distributed-net Version: 2.9013.498-1 Severity: normal Tags: patch
The /etc/logrotate.d/distributed-net file included in the package does not opecify a logfile owner, and creates /var/log/distributed-net.log as root. Since the daemon start/stop script for dnetc runs as the "daemon" user, this prevents dnetc from writing to the logfile (dnetc still runs, although the logfile is left empty). The enclosed patch will ensure the logfile is re-created with appropriate ownership / permissions: --- /etc/logrotate.d/distributed-net.dpkg 2006-12-13 09:35:40.000000000 +0000 +++ /etc/logrotate.d/distributed-net 2006-12-13 09:31:19.000000000 +0000 @@ -1,6 +1,7 @@ /var/log/distributed-net.log { weekly rotate 5 + create 640 daemon daemon postrotate /etc/init.d/distributed-net reload >/dev/null endscript -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (900, 'unstable'), (500, 'testing'), (200, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16.30.2006110301 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Versions of packages distributed-net depends on: ii host 20000331-9 utility for querying DNS servers ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries Versions of packages distributed-net recommends: ii logrotate 3.7.1-3 Log rotation utility -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]