Bug 586266 - unused cobbler creates annoying logrotate failure mails
unused cobbler creates annoying logrotate failure mails
Status: CLOSED CURRENTRELEASE
Product: Fedora EPEL
Classification: Fedora
Component: cobbler (Show other bugs)
el5
All Linux
low Severity medium
: ---
: ---
Assigned To: Scott J Henson
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-27 03:46 EDT by Till Maas
Modified: 2010-12-31 01:33 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-12-31 01:33:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Till Maas 2010-04-27 03:46:24 EDT
Description of problem:
I only installed cobbler, but did not use it. This makes logrotate complain daily:
error: stat of /var/log/cobbler/tasks/*.log failed: No such file or directory


Version-Release number of selected component (if applicable):
cobbler-2.0.3.1-3.el5


How reproducible:
always


Steps to Reproduce:
1. install logrotate and cobbler
2. do not use cobbler

 
Actual results:
A daily mail with this contents will be send by cron:

/etc/cron.daily/logrotate:

error: stat of /var/log/cobbler/tasks/*.log failed: No such file or directory


Expected results:
Nothing is wrong, so there should be no mails.


Additional info:
Maybe missingok should be used for /var/log/cobbler/tasks/*.log in cobblerd_rotate.
Comment 1 Scott J Henson 2010-12-31 01:33:56 EST
Fixed.  Should be included in 2.0.9.

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