summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-24 21:51:54 +0200
committerRemi Collet <remi@remirepo.net>2018-04-24 21:51:54 +0200
commit4da547df37dee6a28d21d49246347db298281da3 (patch)
treea2342ab2bacfbbc17c526d3791def48afd7223f5
parentaadd87d2958882209e047d1475fa29b8e780dde4 (diff)
Update to 7.0.30 - http://www.php.net/releases/7_0_30.php
use systemd RuntimeDirectory instead of /etc/tmpfiles.d
-rw-r--r--failed.txt2
-rw-r--r--php-fpm.service2
-rw-r--r--php70.spec15
3 files changed, 9 insertions, 10 deletions
diff --git a/failed.txt b/failed.txt
index 2103cf4..a036d63 100644
--- a/failed.txt
+++ b/failed.txt
@@ -1,4 +1,4 @@
-===== 7.0.29 (2018-03-29)
+===== 7.0.30 (2018-04-26)
$ grep -r 'Tests failed' /var/lib/mock/*/build.log
diff --git a/php-fpm.service b/php-fpm.service
index 687dfc0..b68765f 100644
--- a/php-fpm.service
+++ b/php-fpm.service
@@ -12,6 +12,8 @@ EnvironmentFile=/etc/sysconfig/php-fpm
ExecStart=/usr/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
PrivateTmp=true
+RuntimeDirectory=php-fpm
+RuntimeDirectoryMode=0755
[Install]
WantedBy=multi-user.target
diff --git a/php70.spec b/php70.spec
index 129b373..856b316 100644
--- a/php70.spec
+++ b/php70.spec
@@ -107,7 +107,7 @@
%global db_devel libdb-devel
%endif
-%global upver 7.0.29
+%global upver 7.0.30
#global rcver RC1
Summary: PHP scripting language for creating dynamic web sites
@@ -1134,9 +1134,6 @@ rm -f TSRM/tsrm_win32.h \
find . -name \*.[ch] -exec chmod 644 {} \;
chmod 644 README.*
-# php-fpm configuration files for tmpfiles.d
-echo "d /run/php-fpm 755 root root" >php-fpm.tmpfiles
-
# Some extensions have their own configuration file
cp %{SOURCE50} 10-opcache.ini
%if 0%{?rhel} != 6
@@ -1635,9 +1632,6 @@ install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm
%if %{with_systemd}
install -m 755 -d $RPM_BUILD_ROOT/run/php-fpm
-# tmpfiles.d
-install -m 755 -d $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d
-install -m 644 php-fpm.tmpfiles $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/php-fpm.conf
# install systemd unit files and scripts for handling server startup
# this folder requires systemd >= 204
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/php-fpm.service.d
@@ -1947,10 +1941,9 @@ fi
%config(noreplace) %{_sysconfdir}/nginx/default.d/php.conf
%endif
%if %{with_systemd}
-%{_prefix}/lib/tmpfiles.d/php-fpm.conf
%{_unitdir}/php-fpm.service
%dir %{_sysconfdir}/systemd/system/php-fpm.service.d
-%dir /run/php-fpm
+%dir %ghost /run/php-fpm
%else
%{_initrddir}/php-fpm
%dir %{_localstatedir}/run/php-fpm
@@ -2031,6 +2024,10 @@ fi
%changelog
+* Tue Apr 24 2018 Remi Collet <remi@remirepo.net> - 7.0.30-1
+- Update to 7.0.30 - http://www.php.net/releases/7_0_30.php
+- use systemd RuntimeDirectory instead of /etc/tmpfiles.d
+
* Wed Mar 28 2018 Remi Collet <remi@remirepo.net> - 7.0.29-1
- Update to 7.0.29 - http://www.php.net/releases/7_0_29.php
- FPM: update default pool configuration for process.dumpable