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

Bug#439997: marked as done (checkpc run by cron.daily cannot be disabled)



Your message dated Sat, 26 Jan 2008 08:33:06 +1100
with message-id <20080125213306.GB9237@enc.com.au>
and subject line Fixed in 3.8.A
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lprng
Version: 3.8.28dfsg.1-1.1

I am running a Debian system that does not need printer support. For this
reason I have disabled printer-related things in the Linux kernel (e.g.
parallel printer support, aka the "lp" module) and generally tried to
remove as many unneeded printer-related Debian packages as possible.
Package dependencies force me to keep lprng installed, though.

The problem is that checkpc, which is run daily by /etc/cron.daily/lprng,
fails for some reason (possibly the missing "lp" kernel module?) with the
following error:

 Warning - lp: cannot open lp device '/dev/lp0' - No such device or address

This message is placed into the system logs and then gets picked up by the
logcheck utility, thus generating one unnecessary email per day.

For the moment I have added a local logcheck rule that ignores the checkpc
error message. I feel, however, that it would be cleaner if I could
somehow disable the automatic checking performed by /etc/cron.daily/lprng.
This would also have the benefit that the system logs are not "filled"
with unnecessary messages.

This, then, is my request: Would it be possible to add a feature to the
lprng package that disables /etc/cron.daily/lprng? Possible solutions
could be (I don't know if these violate any Debian policies):
* ask a debconf question when the package is installed that prevents
/etc/cron.daily/lprng from being installed
* add an entry to /etc/default/lprng that is evaluated by the cron script


Thanks
Patrick




--- End Message ---
--- Begin Message ---
Package: lprng
Version: 3.8.A~rc2

I missed this one in the changelog but it will be fixed alongside the
other two crontab related changes.  Not having a printcap file will
silently exit the cron job stopping the messages.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 


--- End Message ---

Reply to: