com php-src: Fix bug #78889 (php-fpm service fails to start): NEWS sapi/fpm/php-fpm.service.in
| From: | Jakub Zelenka | Date: | Sun, 01 Dec 2019 17:13:20 +0000 |
| Subject: | com php-src: Fix bug #78889 (php-fpm service fails to start): NEWS sapi/fpm/php-fpm.service.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109340@lists.php.net to get a copy of this message | ||
Commit: 67cd4271e922ee3082b416a7563598274d13a1e5
Author: Jakub Zelenka <bukka@php.net> Sun, 1 Dec 2019 17:13:20 +0000
Parents: 246b9db5694e2ddf80598b794d1ed5d8a8b18e44
Branches: PHP-7.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=67cd4271e922ee3082b416a7563598274d13a1e5
Log:
Fix bug #78889 (php-fpm service fails to start)
Bugs:
https://bugs.php.net/78889
Changed paths:
M NEWS
M sapi/fpm/php-fpm.service.in
Diff:
diff --git a/NEWS b/NEWS
index aa60eba5479..824ad08eb08 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ PHP NEWS
- FPM:
. Fixed bug #76601 (Partially working php-fpm ater incomplete reload).
(Maksim Nikulin)
+ . Fixed bug #78889 (php-fpm service fails to start). (Jakub Zelenka)
- OPcache:
. Fixed $x = (bool)$x; with opcache (should emit undeclared variable notice).
diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
index 857cb0e8f13..f58ea08af8f 100644
--- a/sapi/fpm/php-fpm.service.in
+++ b/sapi/fpm/php-fpm.service.in
@@ -32,13 +32,6 @@ NoNewPrivileges=true
# but no physical devices such as /dev/sda.
PrivateDevices=true
-# Required for dropping privileges and running as a different user
-CapabilityBoundingSet=CAP_SETGID CAP_SETUID
-
-# Attempts to create memory mappings that are writable and executable at the same time,
-# or to change existing memory mappings to become executable are prohibited.
-MemoryDenyWriteExecute=true
-
# Explicit module loading will be denied. This allows to turn off module load and unload
# operations on modular kernels. It is recommended to turn this on for most services that
# do not need special file systems or extra kernel modules to work.