This looks like that either AppArmor got more restricted in Jammy. I
will CC AppArmor folks to make them aware, but due to the holidays they
will possibly not react quickly. So I recommend to temporarily de-
activate AppArmor for CUPS and for cups-browsed:
sudo apt install apparmor-utils
sudo aa-complain cupsd
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1955434
Title:
Driverless printing detection does not work
Status in apparmor package in Ubuntu:
Incomplete
Status in cups package in Ubuntu:
Incomplete
Bug description:
20 Dec 2021 fresh just installed ubuntu budgie jammy daily
My network HP Photosmart printer is not detected. In fact the only
printer found via gnome settings is CUPS-BRF-PRINTER
This is a regression since both 20.04.3 and 21.10 both find the same
printer on the network automatically.
journal -ae | grep cups shows apparmor issues
dad@dad-MacBookPro:~$ journalctl -ae | grep cups
Dec 20 23:42:40 dad-MacBookPro audit[711]: AVC apparmor="DENIED"
operation="capable" profile="/usr/sbin/cupsd" pid=711 comm="cupsd"
capability=12 capname="net_admin"
Dec 20 23:42:40 dad-MacBookPro kernel: audit: type=1400
audit(1640043760.707:41): apparmor="DENIED" operation="capable"
profile="/usr/sbin/cupsd" pid=711 comm="cupsd" capability=12
capname="net_admin"
Dec 20 23:42:48 dad-MacBookPro audit[834]: AVC apparmor="DENIED"
operation="capable" profile="/usr/sbin/cups-browsed" pid=834
comm="cups-browsed" capability=23 capname="sys_nice"
Dec 20 23:42:48 dad-MacBookPro kernel: audit: type=1400
audit(1640043768.971:42): apparmor="DENIED" operation="capable"
profile="/usr/sbin/cups-browsed" pid=834 comm="cups-browsed" capability=23
capname="sys_nice"
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: cups 2.3.3op2-7ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
Uname: Linux 5.13.0-19-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu74
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: Budgie:GNOME
Date: Mon Dec 20 23:44:41 2021
InstallationDate: Installed on 2021-12-20 (0 days ago)
InstallationMedia: Ubuntu-Budgie 22.04 LTS "Jammy Jellyfish" - Alpha amd64
(20211220)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No
destinations added.
MachineType: Apple Inc. MacBookPro9,2
Papersize: a4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-19-generic
root=UUID=69ee9609-7759-4141-a4ce-e89f3cb9e31a ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/02/2018
dmi.bios.release: 0.1
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP91.88Z.00D9.B00.1802021100
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-6F01561E16C75D06
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro9,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-6F01561E16C75D06
dmi.modalias:
dmi:bvnAppleInc.:bvrMBP91.88Z.00D9.B00.1802021100:bd02/02/2018:br0.1:svnAppleInc.:pnMacBookPro9,2:pvr1.0:skuSystemSKU#:rvnAppleInc.:rnMac-6F01561E16C75D06:rvrMacBookPro9,2:cvnAppleInc.:ct10:cvrMac-6F01561E16C75D06:
dmi.product.family: MacBook Pro
dmi.product.name: MacBookPro9,2
dmi.product.sku: System SKU#
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1955434/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp