Thanks for the added information. Your /etc/apparmor.d/local/usr.sbin.cupsd has
a lot of extra entries in it. By default it will be empty but it is there for
people to use for site-local configuration updates. I see that you currently
have:
# capability block_suspend,
Which clearly you commented out to avoid the bug. Perhaps you tried a
newer cups and made these additions so it would work? Regardless, unless
you have a specific reason to do so, I suggest clearing out all the
extra entries in /etc/apparmor.d/local/usr.sbin.cupsd for now.
Marking "Invalid" since this bug was due to local changes.
** Changed in: cups (Ubuntu)
Status: Incomplete => Invalid
--
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/1052098
Title:
AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd
Status in “cups” package in Ubuntu:
Invalid
Bug description:
My HP printer suddenly didn't work anymore, and /var/log/syslog
reported for udev-configure-printer:
"failed to connect to CUPS server; giving up"
I decided to reinstall cups and hplip and got the following error
messages:
"AppArmor parser error for /etc/apparmor.d/usr.sbin.cupsd in
/etc/apparmor.d/usr.sbin.cupsd at line 18: Invalid capability
block_suspend."
... and:
"start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed."
... resulting in errors related to dpkg (dependencies problems).
After commenting out the line
capability block_suspend,
in /etc/apparmor.d/usr.sbin.cupsd, all is well: Reinstalling cups and
hplip was successful and my printer works again.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1052098/+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