Bug 753581 - Hourly cronjobs are too verbose
Summary: Hourly cronjobs are too verbose
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: inn
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-13 15:47 UTC by Mathieu Chouquet-Stringer
Modified: 2014-02-02 22:16 UTC (History)
4 users (show)

Fixed In Version: inn-2.5.2-20.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-25 02:21:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.