[cups/f16] Removed PrivateTmp from service file altogether (bug #807672).

Tim Waugh twaugh at fedoraproject.org
Thu Mar 29 11:27:01 UTC 2012


commit b396e84d38caf180db3b690d48c9ad28655dc8a4
Author: Tim Waugh <twaugh at redhat.com>
Date:   Thu Mar 29 12:16:06 2012 +0100

    Removed PrivateTmp from service file altogether (bug #807672).

 cups-systemd-socket.patch |    3 +--
 cups.spec                 |    5 ++++-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/cups-systemd-socket.patch b/cups-systemd-socket.patch
index 09d17d4..ed74fac 100644
--- a/cups-systemd-socket.patch
+++ b/cups-systemd-socket.patch
@@ -103,13 +103,12 @@ diff -up cups-1.5.2/data/cups.path.in.systemd-socket cups-1.5.2/data/cups.path.i
 diff -up cups-1.5.2/data/cups.service.in.systemd-socket cups-1.5.2/data/cups.service.in
 --- cups-1.5.2/data/cups.service.in.systemd-socket	2012-03-16 14:50:57.149449788 +0000
 +++ cups-1.5.2/data/cups.service.in	2012-03-16 14:50:57.149449788 +0000
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,9 @@
 +[Unit]
 +Description=CUPS Printing Service
 +
 +[Service]
 +ExecStart=@sbindir@/cupsd -f
-+PrivateTmp=true
 +
 +[Install]
 +Also=cups.socket cups.path
diff --git a/cups.spec b/cups.spec
index 1c8b658..0976bb5 100644
--- a/cups.spec
+++ b/cups.spec
@@ -19,7 +19,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.5.2
-Release: 8%{?dist}
+Release: 8.1%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -666,6 +666,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ipptool.1.gz
 
 %changelog
+* Thu Mar 29 2012 Tim Waugh <twaugh at redhat.com> 1:1.5.2-8.1
+- Removed PrivateTmp from service file altogether (bug #807672).
+
 * Wed Mar 28 2012 Tim Waugh <twaugh at redhat.com> 1:1.5.2-8
 - Avoid systemd PrivateTmp bug by explicitly requiring the fixed
   version of systemd (bug #807672).


More information about the scm-commits mailing list