[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457451: lprng: checkpc run by cron.daily should depend on existence of /etc/printcap



Package: lprng
Version: 3.8.28dfsg.1-1.1
Severity: minor


Hello,

lprng was automatically installed via lsb-core on a server which doesn't
have printers connected to it and therefore doesn't have cupsys installed
which would have created the /etc/printcap file.

Yet the /etc/cron.daily/lprng call of checkpc produces:
2007-12-21-15:25:19.494 vmsid Read_file_list: cannot stat required or
included file '//etc/printcap' - No such file or directory

I suggest extending the file test in /etc/cron.daily/lprng to something
like:
if [ -x /usr/sbin/checkpc -a -e /etc/printcap ]

Cheers,
David Ayers

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lprng depends on:
ii  debconf [debconf-2.0] 1.5.17             Debian configuration
management sy
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcomerr2            1.40.3-1           common error description
library
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libssl0.9.8           0.9.8g-3           SSL shared libraries
ii  lsb-base              3.1-24             Linux Standard Base 3.1
init scrip

lprng recommends no packages.

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





Reply to: