From 4aeeca591590f72db5231af8f5f187f40865271493da4c3ddd9a2c7003cfc36b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 17 Sep 2010 19:25:24 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/logrotate revision 19.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=5a26a0fe1feb8e0da19cc9746b16a93a --- logrotate-3.7.8-suse.patch | 6 +++--- logrotate.changes | 6 ++++++ logrotate.spec | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/logrotate-3.7.8-suse.patch b/logrotate-3.7.8-suse.patch index d4005c0..500ffe8 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 -t logrotate "ALERT another instance of logrotate is running - exiting" ++ /bin/logger -p cron.warning -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 -t logrotate "ALERT exited abnormally with [$EXITVALUE]" -+ /bin/logger -t logrotate -f $TMPF ++ /bin/logger -p cron.warning -t logrotate "ALERT exited abnormally with [$EXITVALUE]" ++ /bin/logger -p cron.warning -t logrotate -f $TMPF fi + +rm -f $TMPF diff --git a/logrotate.changes b/logrotate.changes index d857e31..118d450 100644 --- a/logrotate.changes +++ b/logrotate.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/logrotate.spec b/logrotate.spec index 9501de2..4715df9 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -24,7 +24,7 @@ BuildRequires: popt-devel BuildRequires: libselinux-devel Summary: Rotate, Compress, Remove, and Mail System Log Files Version: 3.7.9 -Release: 1 +Release: 2 License: GPLv2+ Group: System/Base Source: %{name}-%{version}.tar.bz2