I can certainly understand this being a show stopper and needing to stop
fiddling with it.
There are a few more things you can try before going through all the
work of reverting or switching your system. First restarting cups is
loading the apparmor profile (sorry I was unaware it was doing this) so
just removing it won't work. We need to disable it.
I don't know why
sudo aa-disable /etc/apparmor.d/usr.sbin.cupsd
isn't working for you. I would try it again. If it fails you can manually make
a symlink that should disable the profile, and then manually remove it
sudo ln -s /etc/apparmor.d/usr.sbin.cupsd
/etc/apparmor.d/disable/usr.sbin.cupsd
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.cupsd
you can verify the profile is removed using
sudo aa-status | grep cups
which should output nothing
now try restarting cups
sudo restart cups
and check the tail of /var/log/syslog for new denials
grep DENIED /var/log/syslog
the reason to look in /var/log/syslog instead of dmesg is DBus denial
don't currently go to dmesg, so /var/log/syslog is the only place all
apparmor denial messages show up.
If you still can't install your driver, and are getting apparmor DENIED
messages you can do either of the following to disable apparmor completely.
sudo apt-get remove apparmor
or
edit /etc/defaults/grub and add apparmor=0 to the kernel command line then run
sudo update-grub
and reboot
If you still can't install the driver then it is indeed a cups regression and
the apparmor messages have been a red herring. Best of luck on what ever route
you choose, and I am sorry that this bug is causing you such problems.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251973
Title:
Printing denied since upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1251973/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs