mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge 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> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1406 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
bfa9147182
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