Default included php-fpm profile prevent php-fpm installation

Bug #2061113 reported by Thibault Richard
6
This bug affects 1 person
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.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)

Revision history for this message
Thibault Richard (thibs) wrote :
Revision history for this message
Georgia Garcia (georgiag) wrote :
Changed in apparmor (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.