[ypserv] Enable PrivateTmp feature, just for the case
Honza Horak
hhorak at fedoraproject.org
Fri May 10 08:44:08 UTC 2013
commit 3b6eb750cf9d1e23a35e4e1ce05cc0cf66f5fdd2
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Fri May 10 10:43:55 2013 +0200
Enable PrivateTmp feature, just for the case
yppasswdd.service | 1 +
ypxfrd.service | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/yppasswdd.service b/yppasswdd.service
index fd86796..e83c5d0 100644
--- a/yppasswdd.service
+++ b/yppasswdd.service
@@ -10,6 +10,7 @@ EnvironmentFile=-/etc/sysconfig/network
EnvironmentFile=-/etc/sysconfig/yppasswdd
ExecStartPre=/usr/libexec/yppasswdd-pre-setdomain
ExecStart=/usr/libexec/rpc.yppasswdd.env
+PrivateTmp=true
[Install]
WantedBy=multi-user.target
diff --git a/ypxfrd.service b/ypxfrd.service
index 1e62dca..cc408f2 100644
--- a/ypxfrd.service
+++ b/ypxfrd.service
@@ -8,6 +8,7 @@ Type=notify
NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/network
ExecStart=/usr/sbin/rpc.ypxfrd -f $YPXFRD_ARGS
+PrivateTmp=true
[Install]
WantedBy=multi-user.target
More information about the scm-commits
mailing list