Comment 20 for bug 1187970

Revision history for this message
John Johansen (jjohansen) wrote :

Sorry my mistake again. I don't often hit the low level interface. The echo command needs a -n, we are echoing the profile name to remove directly into the apparmor kernel interface.

lets do this

    sudo aa-status

    ps -Z `pidof cupsd`

    sudo bash -c "echo -n /usr/sbin/cupsd >/sys/kernel/security/apparmor/.remove"
    sudo bash -c "echo -n /usr/lib/cups/backend/cups-pdf >/sys/kernel/security/apparmor/.remove"

    sudo aa-status
    ps -Z `pidof cupsd`

    sudo restart cups
    ps -Z `pidof cupsd`