http://bugzilla.novell.com/show_bug.cgi?id=567497 http://bugzilla.novell.com/show_bug.cgi?id=567497#c0 Summary: logrotate returns 0 although olddir does not exist Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: i586 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Robert.Dahlem@gmx.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) When using "olddir XXX" and failing to create the corresponding directory, /usr/sbin/logrotate reports: error: FILE:LINE error verifying olddir path /YYY/XXX: No such file or directory but returns 0. This is problematic because /etc/cron.daily/logrotate exits silently and nothing gets rotated without the administrator seeing anything. Reproducible: Always Steps to Reproduce: 1. # /usr/sbin/logrotate /etc/logrotate.conf 2. check $?, should be 0 3. add "olddir DOESNOTEXIST" to /etc/logrotate.conf 4. # /usr/sbin/logrotate /etc/logrotate.conf 5. watch the output, should tell that directory does not exist 6. check $?, it is still 0 Expected Results: $? should be != 0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.