Comment 15 for bug 1251973

Revision history for this message
EricDHH (ericdhh) wrote :

eric@nereus:~$ sudo aa-disable /etc/apparmor.d/usr.sbin.cupsd
[sudo] password for eric:
sudo: aa-disable: Befehl nicht gefunden

This command is not installed, don't know from which package it should come

eric@nereus:~$ aa-
aa-exec aa-status

So i try to disable apparmor for cups.

eric@nereus:~$ sudo ln -s /etc/apparmor.d/usr.sbin.cupsd /etc/apparmor.d/disable/usr.sbin.cupsd
eric@nereus:~$ sudo apparmor_parser -R /etc/apparmor.d/usr.bin.cupsd
Fehler: Profil /etc/apparmor.d/usr.bin.cupsd konnte nicht gelesen werden: Datei oder Verzeichnis nicht gefunden.

Incredible, it's there and it's not, mabye permission problems?

eric@nereus:~$ ls -la /etc/apparmor.d/
-rw-r--r-- 1 root root 4459 Sep 27 13:34 usr.sbin.cupsd

This looks okay
eric@nereus:~$ sudo restart cups
cups start/running, process 3097
eric@nereus:~$ grep DENIED /var/log/syslog

A complete removal of apparmor seems not to be o good idea, it offers basic security functions that look useful. It seems that the cups api was something silently changed after 13.04, so the brother packages are icompatible now. As there are no free drivers and ubuntu help points to the brother packages, this is a mess. There are many printers supported only by the brother packages. This gives me a good understanding, why mint tells to not update if everything is fine. It will rollback this machine today to get in functional again.

Thanks
Eric

eric@nereus:~$ sudo aa-status | grep cups
   /usr/lib/cups/backend/cups-pdf
   /usr/sbin/cupsd
   /usr/sbin/cupsd (2789)