Bug 122911 - Logrotate problem if ppp isn't used and there isn't a logfile in /var/log
Logrotate problem if ppp isn't used and there isn't a logfile in /var/log
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: ppp (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
:
: 123947 124817 126479 126771 127584 127741 (view as bug list)
Depends On:
Blocks: FC2Target 126479
  Show dependency treegraph
 
Reported: 2004-05-10 08:30 EDT by Robert Scheck
Modified: 2007-11-30 17:10 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-07-13 05:09:03 EDT
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 Robert Scheck 2004-05-10 08:30:32 EDT
Description of problem:
There's a logrotate problem if ppp isn't used and there isn't a 
logfile in /var/log:

--- snipp ---
/etc/cron.daily/logrotate:

error: stat of /var/log/ppp/connect-errors failed: No such file or directory
--- snapp ---

--- snipp ---
May  9 04:02:10 tux syslogd 1.4.1: restart.
May  9 04:02:10 tux logrotate: ALERT exited abnormally with [1]
--- snapp ---

Version-Release number of selected component (if applicable):
ppp-2.4.2-2

How reproducible:
Everytime

Steps to Reproduce:
1. Install ppp-2.4.2-2
2. Wait a for logrotate
3. Get the error in syslog/logwatch
  
Actual results:
Maybe a "missingok" in /etc/logrotate.d/ppp solves the problem?

Expected results:
No error at logrotate for ppp.

Additional info:
If ppp-2.4.2-2 is shipped with Fedora Core 2, it is a also a problem
there.
Comment 1 Robert Scheck 2004-05-10 08:43:36 EDT
Yupp, 

--- $SOURCES/ppp.logrotate            2004-05-07 12:37:26.000000000 +0200
+++ $SOURCES/ppp.logrotate.rsc        2004-05-10 14:33:55.000000000 +0200
@@ -1,6 +1,7 @@
 # Logrotate file for ppp RPM

 /var/log/ppp/connect-errors {
+       missingok
        compress
        notifempty
        daily

solves it for me.
Comment 2 Thomas Woerner 2004-05-13 11:51:26 EDT
Fixed in rawhide in rpm ppp-2.4.2-2.1 or newer.
Comment 3 Robert Scheck 2004-05-13 13:56:51 EDT
Thank you, but could you also make an update for Fedora Core 2, if this
fix (and I believe that) isn't in Fedora Core 2? Would be very nice :)
Comment 4 Joe Orton 2004-05-17 14:51:28 EDT
Seconded that comment since this mails errors to root on a default
@Everything FC2 install for every logrotate run.
Comment 5 Matthew Miller 2004-05-20 13:13:33 EDT
Anyone updating to the rawhide package probably wants to check out bug
#123680 first....
Comment 6 Thomas Woerner 2004-05-24 04:25:10 EDT
*** Bug 123947 has been marked as a duplicate of this bug. ***
Comment 7 Guðmundur D. H. 2004-06-07 15:15:23 EDT
*** Bug 124817 has been marked as a duplicate of this bug. ***
Comment 8 Robert Scheck 2004-06-22 08:55:12 EDT
Requesting an update for Fedora Core 2 again, to solve this issue and
bug #123680 for the end users and not only in development...
Comment 9 Thomas Woerner 2004-06-22 09:32:49 EDT
*** Bug 126479 has been marked as a duplicate of this bug. ***
Comment 10 Penelope Fudd 2004-06-23 14:21:15 EDT
Also seconding (thirding?) the update request for Fedora Core 2.
Comment 11 Robert Scheck 2004-07-08 14:09:16 EDT
Well, could somebody please tell me, what's such hard at a simple 
rebuild of the latest ppp from Development for Fedora Core 1? Or is
the package just hanging at the quality assurance *eg*?! ;-)
Comment 12 Robert Scheck 2004-07-08 14:10:16 EDT
Oops...sorry, I meant Fedora Core 2 instead of 1 - my mistake!
Comment 13 Miloslav Trmac 2004-07-11 09:37:20 EDT
*** Bug 127584 has been marked as a duplicate of this bug. ***
Comment 14 Thomas Woerner 2004-07-13 04:51:04 EDT
*** Bug 127741 has been marked as a duplicate of this bug. ***
Comment 15 Thomas Woerner 2004-07-13 04:53:09 EDT
*** Bug 126771 has been marked as a duplicate of this bug. ***
Comment 16 Thomas Woerner 2004-07-13 05:09:03 EDT
Fixed in FC2-updates. The conflict with initscripts is solved by a new
initscripts package.

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