OK, let's fix apparmor first. I ran the commands, but as you see from the output the "remove" stuff failed.
janos@Andraslinux:~$ ps -Z `pidof cupsd` LABEL PID TTY STAT TIME COMMAND /usr/sbin/cupsd 789 ? Ss 0:00 /usr/sbin/cupsd -F janos@Andraslinux:~$ sudo bash -c "echo /usr/sbin/cupsd >/sys/kernel/security/apparmor/.remove" [sudo] password for janos: bash: line 0: echo: write error: No such file or directory janos@Andraslinux:~$ sudo bash -c "echo /usr/lib/cups/backend/cups-pdf >/sys/kernel/security/apparmor/.remove" bash: line 0: echo: write error: No such file or directory janos@Andraslinux:~$ sudo aa-status apparmor module is loaded. You do not have enough privilege to read the profile set. janos@Andraslinux:~$ ps -Z `pidof cupsd` LABEL PID TTY STAT TIME COMMAND /usr/sbin/cupsd 789 ? Ss 0:00 /usr/sbin/cupsd -F janos@Andraslinux:~$ sudo restart cups cups start/running, process 2163 janos@Andraslinux:~$ ps -Z `pidof cupsd` LABEL PID TTY STAT TIME COMMAND /usr/sbin/cupsd 2163 ? Ss 0:00 /usr/sbin/cupsd -F janos@Andraslinux:~$ It looks like the entity " .remove" is a file in /sys/kernel/security/apparmor directory, not a directory. The only directory there is "features" that also has directories. I hope this helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1187970 Title: apparmor prevents custom printer driver from executing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1187970/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
