profiles: installation of php-fpm needs w @{run}/systemd/notify

Installation of php-fpm fails on Ubuntu because the profile does not
allow writing to /run/systemd/notify.

Fixes: https://bugs.launchpad.net/bugs/2061113

Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
Georgia Garcia 2024-06-05 09:43:05 -03:00
parent a6a121144b
commit 49aa7ae328

View file

@ -36,6 +36,9 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) {
@{run}/php*-fpm.pid rw, @{run}/php*-fpm.pid rw,
@{run}/php{,-fpm}/php*-fpm.sock rwlk, @{run}/php{,-fpm}/php*-fpm.sock rwlk,
# LP: #2061113
owner @{run}/systemd/notify w,
# to reload # to reload
/usr/sbin/php-fpm* rix, /usr/sbin/php-fpm* rix,