network usb printer always "in use" on kubuntu 14.10

Bug #1382042 reported by Kaj Munsterhjelm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
High
Jamie Strandboge

Bug Description

 a network printer connected to a router via usb. The printer seems to be recognized, but is always "in use" when trying to print.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cups 1.7.5-3ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
Uname: Linux 3.16.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu7
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Oct 16 08:47:45 2014
InstallationDate: Installed on 2014-08-29 (48 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140826.1)
Lpstat: device for HPEnvy4500: ipp://192.168.0.1:631/LP1
Lsusb:
 Bus 001 Device 003: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: HP-Pavilion KJ300AA-A2L a6418f
Papersize: letter
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HPEnvy4500.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HPEnvy4500.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-22-generic root=UUID=4b5d1c91-ba08-43ff-9634-8626f3d79daf ro quiet splash
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/25/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 5.14
dmi.board.name: Nettle3
dmi.board.vendor: ECS
dmi.board.version: 2.1
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr5.14:bd03/25/2008:svnHP-Pavilion:pnKJ300AA-A2La6418f:pvr:rvnECS:rnNettle3:rvr2.1:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: KJ300AA-A2L a6418f
dmi.sys.vendor: HP-Pavilion

Revision history for this message
Kaj Munsterhjelm (kajmunster) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I'm quite sure this is due to the 'unix' apparmor denials.

You should be able to workaround this by adding the following to /etc/apaprmor.d/local/usr.sbin.cupsd:
  unix peer=/usr/sbin/cupsd//third_party,

Changed in cups (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Oops, I meant:
  unix peer=(label=/usr/sbin/cupsd//third_party),

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.7.5-3ubuntu2

---------------
cups (1.7.5-3ubuntu2) utopic; urgency=medium

  * debian/local/apparmor-profile:
    - allow all signals to /usr/sbin/cupsd//third_party
    - allow unix to /usr/sbin/cupsd//third_party (LP: #1382042)
 -- Jamie Strandboge <email address hidden> Thu, 16 Oct 2014 08:28:29 -0500

Changed in cups (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.