Red Hat Bugzilla – Bug 127584
logrotate generates errors due to missing log file
Last modified: 2007-11-30 17:10:45 EST
This is for ppp-2.4.2-2
The logrotate config file (/etc/logrotate.d/ppp) attempts to rotate
the log file /var/log/ppp/connect-errors. However, the log file is not
present, this generates logrotate errors.
Since I'm not familar with the mechanics of the ppp package I'm not
sure if this log file is always expected to exist or not. If on the
assumption it is O.K. for this log file to be missing then the
logrotate config file for ppp needs include the "missingok" flag so
that the absense of this file does not generate errors.
If the log file is always supposed to be there (dosen't sound like it
should) then the problem is elsewhere.
The verbose error coming from logrotate is:
error: stat of /var/log/ppp/connect-errors failed: No such file or
Duplicate of Bug 122911
*** This bug has been marked as a duplicate of 122911 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.