From d44a12ce6fc5ce207169781624a0218fd1dd7dcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 5 Feb 2012 10:37:20 +0000 Subject: [PATCH] - logrotate 3.8.0 requires "su" option for non-root writable dirs Changed files: argus.logrotate -> 1.4 argus.spec -> 1.23 --- argus.logrotate | 1 + argus.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/argus.logrotate b/argus.logrotate index f24eeeb..e48eacf 100644 --- a/argus.logrotate +++ b/argus.logrotate @@ -1,4 +1,5 @@ /var/log/argus/*log { + su root argus olddir /var/log/archive/argus compress create 660 root argus diff --git a/argus.spec b/argus.spec index 133bb27..f196741 100644 --- a/argus.spec +++ b/argus.spec @@ -33,7 +33,7 @@ Requires(post,preun): /sbin/chkconfig Requires: rc-scripts Provides: group(argus) Provides: user(argus) -Conflicts: logrotate < 3.7-4 +Conflicts: logrotate < 3.8.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -- 2.44.0