Package: lprng
Version: 3.8.28-2
Severity: normal

The log rotation of /var/log/lpr.log leaves the file with incorrect
ownership and incorrect permissions.  The log file is left in this
state:

-rw-r-----  1 root adm 0 Jun 15 07:48 /var/log/lpr.log

When checkpc is run nightly in /etc/cron.daily/lprng, it generates an
entry like this in /var/log/syslog:

Jun 15 07:46:19 tweek lpd: cron.daily found errors, run checkpc for details.

When checkpc is run, it complains:

[EMAIL PROTECTED]:~# checkpc
Warning -  ** cannot open '/var/log/lpr.log' - 'Permission denied'
Warning - owner/group of '/var/log/lpr.log' are 0/4, not 1/7
Warning - permissions of '/var/log/lpr.log' are 0640, not 0600

I can't figure out what's doing the log rotation, but I suspect it's
lprng itself.  The log rotation process needs to be fixed to set the
correct ownership and permissions on the log files.

Dave


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.20-ben7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lprng depends on:
ii  debconf             1.4.50               Debian configuration management sy
ii  libc6               2.3.2.ds1-22         GNU C Library: Shared libraries an
ii  libcomerr2          1.37+1.38-WIP-0509-1 common error description library
ii  libkrb53            1.3.6-3              MIT Kerberos runtime libraries
ii  libssl0.9.7         0.9.7g-1             SSL shared libraries

-- debconf information:
  lprng/setuid_tools: false
* lprng/start_lpd: true
  lprng/twolpd_perms:
  lprng/twolpd_conf:


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

Reply via email to