diff --git a/logrotate-3.7.8-suse.patch b/logrotate-3.7.8-suse.patch index 500ffe8..d4005c0 100644 --- a/logrotate-3.7.8-suse.patch +++ b/logrotate-3.7.8-suse.patch @@ -22,7 +22,7 @@ Index: examples/logrotate.cron -EXITVALUE=$? +# exit immediately if there is another instance running +if checkproc /usr/sbin/logrotate; then -+ /bin/logger -p cron.warning -t logrotate "ALERT another instance of logrotate is running - exiting" ++ /bin/logger -t logrotate "ALERT another instance of logrotate is running - exiting" + exit 1; +fi; + @@ -36,8 +36,8 @@ Index: examples/logrotate.cron + # wait a sec, we might just have restarted syslog + sleep 1 + # tell what went wrong -+ /bin/logger -p cron.warning -t logrotate "ALERT exited abnormally with [$EXITVALUE]" -+ /bin/logger -p cron.warning -t logrotate -f $TMPF ++ /bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" ++ /bin/logger -t logrotate -f $TMPF fi + +rm -f $TMPF diff --git a/logrotate.changes b/logrotate.changes index 118d450..d857e31 100644 --- a/logrotate.changes +++ b/logrotate.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Tue Sep 14 13:01:46 UTC 2010 - puzel@novell.com - -- use proper syslog facility/priority in logrotate cron - script (bnc#636236) - ------------------------------------------------------------------- Tue Aug 17 15:29:49 UTC 2010 - puzel@novell.com