[dspam/f16] updated logrotate to use su

Nathanael Noblet gnat at fedoraproject.org
Sat Oct 22 04:49:10 UTC 2011


commit 8736ef4ba70bd2c4bf6e48c85d23f76cd03277eb
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date:   Fri Oct 21 19:28:57 2011 -0600

    updated logrotate to use su

 dspam-logrotate |    1 +
 dspam.spec      |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dspam-logrotate b/dspam-logrotate
index 4644220..d0044f2 100644
--- a/dspam-logrotate
+++ b/dspam-logrotate
@@ -17,4 +17,5 @@ tabooext + .gz
 	size 10M
 	compress
 	create 0644 dspam mail
+        su dspam mail
 }
diff --git a/dspam.spec b/dspam.spec
index 5f605f1..64f7474 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -11,7 +11,7 @@
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM filtering
 Name:                   dspam
 Version:                3.10.1
-Release:                3%{?dist}
+Release:                4%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -372,6 +372,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Fir Oct 21 2011 Nathanael Noblet <nathanael at gnat.ca> - 3.10.1-4
+- set logrotate to su to dspam mail when rotating fixes bug 747625
+
 * Tue Oct 18 2011 Nathanael Noblet <nathanael at gnat.ca> - 3.10.1-3
 - removed sysconf file
 


More information about the scm-commits mailing list