Announcement

Collapse
No announcement yet.

Apparmo="DENIED" for CUPS with HP B010

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Apparmo="DENIED" for CUPS with HP B010

    Don't know what happened. After having to unplug my printer to move it upstairs during painting downstairs, when I try to ue it now, all the files sent to it are held. If I unplug it, then plug it in again, dmesg tells me:

    [19983.343789] type=1400 audit(1339064275.281:17): apparmor="DENIED" operation="file_lock" parent=1 profile="/usr/sbin/cupsd" name="/run/utmp" pid=955 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0

    Is apparmor something new? Why doesn't it let my printer print?

    Curiously, the printer is recognized by the system and I can, for instance, send it a test file to print from System Settings, but the file is held. But lsusb does not see it:

    $ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 004 Device 002: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
    Last edited by joneall; Jun 07, 2012, 08:53 AM. Reason: Problem resolved.
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Apparmor isn't new but you certainly can remove it. Many (most) of us do...

    Please Read Me

    Comment


      #3
      Originally posted by oshunluvr View Post
      Apparmor isn't new but you certainly can remove it. Many (most) of us do...
      Will everything keep (start) working if I do?

      By apt-get purge apparmor?

      Thanks.
      'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

      Comment


        #4
        Uh, I just discovered that I had not plugged the USB cable into the back of the computer.

        No probem now.

        Shame on me. A thousand pardons.
        'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

        Comment


          #5
          Lol, I hate when I do that!

          Apparmor is the first thing I un-install when I do a new installation. I just don't have the security concerns required to need that level of protection.

          Please Read Me

          Comment


            #6
            To remove Apparmor, it's more than just uninstalling the package. You first have to stop the policy engine and also remove the Upstart symlinks.

            Code:
            sudo service apparmor teardown
            sudo update-rc.d -f apparmor remove
            sudo apt-get purge apparmor
            sudo rm -rfv /etc/apparmor /etc/apparmor.d

            Comment

            Working...
            X