[dspam] Enable systemd PrivateTmp feature

Nathanael Noblet gnat at fedoraproject.org
Tue Jan 17 18:51:33 UTC 2012


commit 625fd3ae2a5f9d74fa9a702fd25cd95e0371d237
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date:   Tue Jan 17 11:51:26 2012 -0700

    Enable systemd PrivateTmp feature

 dspam-systemd |    1 +
 dspam.spec    |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dspam-systemd b/dspam-systemd
index fc739ea..1a5b1e7 100644
--- a/dspam-systemd
+++ b/dspam-systemd
@@ -5,6 +5,7 @@ Description=A highly accurate statistical spam filter that uses minimal resource
 Type=forking
 User=dspam
 ExecStart=/usr/bin/dspam --daemon 2>/dev/null
+PrivateTmp=true
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file
diff --git a/dspam.spec b/dspam.spec
index ba7d79a..843c431 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:                6%{?dist}
+Release:                7%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -373,6 +373,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Tue Jan 17 2012 Nathanael Noblet <nathanael at gnat.ca> - 3.10.1-7
+- Enable systemd's PrivateTmp feature for added security
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.10.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the perl-devel mailing list