Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 122911

Summary: Logrotate problem if ppp isn't used and there isn't a logfile in /var/log
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: pppAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bernd.bartmann, brad-fedora, gdh, jdennis, jorton, olaf, redhat, toniw, vader
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-13 09:09:03 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:
Bug Depends On:    
Bug Blocks: 114963, 126479    

Description Robert Scheck 2004-05-10 12:30:32 UTC
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 12:43:36 UTC
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 15:51:26 UTC
Fixed in rawhide in rpm ppp-2.4.2-2.1 or newer.

Comment 3 Robert Scheck 2004-05-13 17:56:51 UTC
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 18:51:28 UTC
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 17:13:33 UTC
Anyone updating to the rawhide package probably wants to check out bug
#123680 first....

Comment 6 Thomas Woerner 2004-05-24 08:25:10 UTC
*** Bug 123947 has been marked as a duplicate of this bug. ***

Comment 7 GuĂ°mundur D. H. 2004-06-07 19:15:23 UTC
*** Bug 124817 has been marked as a duplicate of this bug. ***

Comment 8 Robert Scheck 2004-06-22 12:55:12 UTC
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 13:32:49 UTC
*** Bug 126479 has been marked as a duplicate of this bug. ***

Comment 10 Penelope Fudd 2004-06-23 18:21:15 UTC
Also seconding (thirding?) the update request for Fedora Core 2.

Comment 11 Robert Scheck 2004-07-08 18:09:16 UTC
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 18:10:16 UTC
Oops...sorry, I meant Fedora Core 2 instead of 1 - my mistake!

Comment 13 Miloslav Trmac 2004-07-11 13:37:20 UTC
*** Bug 127584 has been marked as a duplicate of this bug. ***

Comment 14 Thomas Woerner 2004-07-13 08:51:04 UTC
*** Bug 127741 has been marked as a duplicate of this bug. ***

Comment 15 Thomas Woerner 2004-07-13 08:53:09 UTC
*** Bug 126771 has been marked as a duplicate of this bug. ***

Comment 16 Thomas Woerner 2004-07-13 09:09:03 UTC
Fixed in FC2-updates. The conflict with initscripts is solved by a new
initscripts package.