mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
php-fpm: widen allowed socket paths
It is common for packaged PHP applications to ship a PHP-FPM configuration using a scheme of "$app.sock" or or "$app.socket" instead of using a generic FPM socket. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
f7b5d0e783
commit
f575817b68
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ profile php-fpm /usr/{bin,sbin}/php-fpm* flags=(attach_disconnected) {
|
|||
# we need to be able to create all sockets
|
||||
@{run}/php{,-fpm,-fpm-legacy}/php*-fpm.pid rw,
|
||||
@{run}/php*-fpm.pid rw,
|
||||
@{run}/php{,-fpm,-fpm-legacy}/php*-fpm.sock rwlk,
|
||||
@{run}/php{,-fpm,-fpm-legacy}/*.sock{,et} rwlk,
|
||||
|
||||
# LP: #2061113
|
||||
owner @{run}/systemd/notify w,
|
||||
|
|
Loading…
Add table
Reference in a new issue