Public bug reported:
Package apparmor-profiles
To reproduce the bug
********************
apt install apparmor-profiles
apt install php-fpm
php-fpm installation will crash
Resolution
**********
a) It's safer to set by default the php-fpm profile in complain mode
/etc/apparmor.d/php-fpm
Line 7 :
profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected, complain) {
(addition of ", complain)
b) The real problem resolution is to add this at line 47
owner /run/systemd/notify w,
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: apparmor-profiles 4.0.0-beta3-0ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Apr 12 09:47:15 2024
InstallationDate: Installed on 2024-04-10 (2 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Beta amd64
(20240409)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm
XDG_RUNTIME_DIR=<set>
ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-6.8.0-22-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061113
Title:
Default included php-fpm profile prevent php-fpm installation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2061113/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs