Default included php-fpm profile prevent php-fpm installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
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.
Line 7 :
profile php-fpm /usr/sbin/php-fpm* flags=(
(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-
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm
XDG_RUNTIME_
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
Fix committed in https:/ /gitlab. com/apparmor/ apparmor/ -/merge_ requests/ 1251