http://qa.mandrakesoft.com/show_bug.cgi?id=3554
Product: inn
Component: program
Summary: inn installed but not active at current runlevel gives
annoying e-mail
Version: 2.3.4-2mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: P2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
When the two cron jobs in /etc/cron.hourly and one in
/etc/cron.daily run without inn being active at the
current run level they exit with a status code of 1
which cron reports by sending an email to root.
I changed these files to this to fix this problem:
[EMAIL PROTECTED] cron.hourly]# cat /etc/cron.hourly/inn-cron-nntpsend
#!/bin/sh
! /sbin/chkconfig innd || su - news -c /usr/bin/nntpsend
[EMAIL PROTECTED] cron.hourly]# cat /etc/cron.hourly/inn-cron-rnews
#!/bin/sh
! /sbin/chkconfig innd || /usr/bin/rnews -U
[EMAIL PROTECTED] cron.hourly]# cat /etc/cron.daily/inn-cron-expire
#!/bin/sh
! /sbin/chkconfig innd || su - news -c "/usr/bin/news.daily delayrm"
It has been this way for several releases.
Bill
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.