From 9cc67072c857a091b03e6df7f9c24f0cf00e2dce Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Oct 2012 08:34:21 +0200 Subject: [PATCH] enable PrivateTmp --- php-fpm.service | 1 + php.spec | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/php-fpm.service b/php-fpm.service index 194e330..d90ed8c 100644 --- a/php-fpm.service +++ b/php-fpm.service @@ -7,6 +7,7 @@ PIDFile=/run/php-fpm/php-fpm.pid EnvironmentFile=/etc/sysconfig/php-fpm ExecStart=/usr/sbin/php-fpm --nodaemonize ExecReload=/bin/kill -USR2 $MAINPID +PrivateTmp=true [Install] WantedBy=multi-user.target diff --git a/php.spec b/php.spec index 7a49257..9dc80d2 100644 --- a/php.spec +++ b/php.spec @@ -52,7 +52,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.4.7 -Release: 8%{?dist} +Release: 9%{?dist} License: PHP Group: Development/Languages URL: http://www.php.net/ @@ -1299,6 +1299,9 @@ fi %changelog +* Mon Oct 1 2012 Remi Collet 5.4.7-9 +- php-fpm: enable PrivateTmp + * Fri Sep 28 2012 Remi Collet 5.4.7-8 - systemd integration, https://bugs.php.net/63085 - no odbc call during timeout, https://bugs.php.net/63171