[pdns] Enable PrivateTmp in systemd unit file

Morten Stevens mstevens at fedoraproject.org
Mon Feb 11 13:24:49 UTC 2013


commit 9e5280ffbdca38c96f28583a2180e4c8c2a51f0f
Author: Morten Stevens <mstevens at imt-systems.com>
Date:   Mon Feb 11 14:23:55 2013 +0100

    Enable PrivateTmp in systemd unit file

 pdns.service |    1 +
 pdns.spec    |    8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pdns.service b/pdns.service
index 6edf2ae..a115f29 100644
--- a/pdns.service
+++ b/pdns.service
@@ -8,6 +8,7 @@ ExecStart=/usr/sbin/pdns_server --daemon
 ExecStop=/usr/bin/pdns_control quit
 Restart=on-failure
 RestartSec=2
+PrivateTmp=true
 
 [Install]
 WantedBy=multi-user.target
diff --git a/pdns.spec b/pdns.spec
index 34e9485..6f2e138 100644
--- a/pdns.spec
+++ b/pdns.spec
@@ -2,7 +2,7 @@
 
 Name: pdns
 Version: 3.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: A modern, advanced and high performance authoritative-only nameserver
 Group: System Environment/Daemons
 License: GPLv2
@@ -198,6 +198,10 @@ exit 0
 %doc pdns/bind-dnssec.schema.sqlite3.sql
 
 %changelog
+* Mon Feb 11 2013 Ruben Kerkhof <ruben at rubenkerkhof.com> - 3.2-4
+- Enable PrivateTmp as per http://fedoraproject.org/wiki/Features/ServicesPrivateTmp
+- Fix bogus date in changelog
+
 * Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 3.2-3
 - Rebuild for Boost-1.53.0
 
@@ -332,7 +336,7 @@ exit 0
 * Tue Apr 24 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 2.9.21-1
 - Upstream released 2.9.21
 - Enabled new SQLite backend
-* Thu Apr 10 2007 <ruben at rubenkerkhof.com> 2.9.20-9
+* Tue Apr 10 2007 <ruben at rubenkerkhof.com> 2.9.20-9
 - Add Requires for chkconfig, service and useradd (#235582)
 * Mon Jan 1 2007 <ruben at rubenkerkhof.com> 2.9.20-8
 - Add the pdns user and group to the config file


More information about the scm-commits mailing list