← Back to team overview

touch-packages team mailing list archive

[Bug 1397576] Re: USB printer no longer works (apparmor?)

 

disabled the apparmor with: sudo aa-complain cupsd
did: sudo apt-get install libnss-myhostname (due to msgs seen in /var/log/syslog)
upgraded the HPLIP package manually from the HP site: http://hplipopensource.com/hplip-web/downloads.html to version 3.14.10
and let it (re-)create the default print queue.
turned the printer off, then back on (watched the msgs in /var/log/syslog go by)

Works again!  Thanks to Pascal for the hint on AppArmor.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1397576

Title:
  USB printer no longer works (apparmor?)

Status in cups package in Ubuntu:
  Incomplete

Bug description:
  # cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="14.04.1 LTS, Trusty Tahr"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 14.04.1 LTS"
  VERSION_ID="14.04"

  HW is:
  Manufacturer: LENOVO
  Product Name: 4061-AC4
  Version: ThinkPad W500
  4 GB RAM, 250 GB disk (7% used)

  
  usb printing to an HP1020 stopped working after applying all updates with apt-get upgrade.  Jobs get queued, but status indicates device never comes online.  Testpage won't even print now.

  I suspect:
  184 -rw-r--r-- 1 root root 184556 Sep  8 10:24 cups_1.7.2-0ubuntu1.2_amd64.deb
  312 -rw-r--r-- 1 root root 318794 Nov 20 15:43 apparmor_2.8.95~2430-0ubuntu5.1_amd64.deb

  I see several reports of problems with apparmor, from my syslog:

  Nov 29 12:35:01 eW500 python: io/hpmud/musb.c 2085: invalid serial id string ret=-7
  Nov 29 12:35:05 eW500 kernel: [ 2521.005901] type=1400 audit(1417282505.501:112): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.005923] type=1400 audit(1417282505.501:113): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=3884 comm="cups-deviced" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.008337] type=1400 audit(1417282505.501:114): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 kernel: [ 2521.008354] type=1400 audit(1417282505.501:115): apparmor="DENIED" operation="signal" profile="/usr/sbin/cupsd" pid=2037 comm="cupsd" requested_mask="send" denied_mask="send" signal=term peer="unconfined"
  Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
  Nov 29 12:35:05 eW500 hp[3887]: io/hpmud/musb.c 2090: invalid manufacturer string ret=-7
  Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 150: unable get_string_descriptor -7: Resource temporarily unavailable
  Nov 29 12:35:06 eW500 python: io/hpmud/musb.c 2090: invalid manufacturer string ret=-7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1397576/+subscriptions


References