Bug 753581

Summary: Hourly cronjobs are too verbose
Product: [Fedora] Fedora Reporter: Mathieu Chouquet-Stringer <mathieu-acct>
Component: innAssignee: Nikola Pajkovsky <npajkovs>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dhoward, jochen, npajkovs, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: inn-2.5.2-20.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-25 02:21:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mathieu Chouquet-Stringer 2011-11-13 15:47:11 UTC
Hello,

chkconfig is (now?) verbose when you check on a service that is controlled by systemd.

As a result, I get these useless messages every hour:

/etc/cron.hourly/inn-cron-nntpsend:

Note: Forwarding request to 'systemctl is-enabled innd.service'.
enabled
/etc/cron.hourly/inn-cron-rnews:

Note: Forwarding request to 'systemctl is-enabled innd.service'.
enabled

All is needed to fix this is to replace this line:
/sbin/chkconfig innd || exit 0
by this
/sbin/chkconfig innd >& /dev/null || exit 0

Thanks,
Mathieu

Comment 1 Fedora Update System 2011-11-13 19:04:29 UTC
inn-2.5.2-19.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/inn-2.5.2-19.fc16

Comment 2 Mathieu Chouquet-Stringer 2011-11-13 23:03:04 UTC
Hello,

It seems you've only fixed: inn-cron-rnews

You also need to do: inn-cron-nntpsend and inn-cron-expire

Best,
Mathieu

Comment 3 Fedora Update System 2011-11-14 00:49:54 UTC
Package inn-2.5.2-19.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing inn-2.5.2-19.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15864
then log in and leave karma (feedback).

Comment 4 Mathieu Chouquet-Stringer 2011-11-14 15:32:15 UTC
Hello again,

Moreover the redirection has to apply to STDERR too as this message is printed on STDERR:
Note: Forwarding request to 'systemctl is-enabled innd.service'.

On STDOUT you get "enabled" or "disabled"

So to sum it up, these 3 scripts must be fixed with a redirection of both STDOUT and STDERR (>& /dev/null):
inn-cron-rnews
inn-cron-nntpsend
inn-cron-expire

Best,
Mathieu

Comment 5 Fedora Update System 2011-11-15 18:06:08 UTC
inn-2.5.2-20.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/inn-2.5.2-20.fc16

Comment 6 Fedora Update System 2011-11-25 02:21:12 UTC
inn-2.5.2-20.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.