Fails to print due to apparmor denied connect operation for cupsd - /run/systemd/userdb/io.systemd.Machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On an up to date Jammy machine, printing fails and there is the following apparmor denied message in the journal:
apparmor="DENIED" operation="connect" profile=
Printing works after running aa-complain cupsd.
The printer is a driverless HP Envy 5020
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apparmor 3.0.4-2ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 9 10:25:10 2022
InstallationDate: Installed on 2020-05-31 (647 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200527)
ProcKernelCmdline: BOOT_IMAGE=
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)
older issue that could probably be closed by the same change, bug #1894902