HP network printer auto-found, two printer instances created, neither work

Bug #1891463 reported by Misoldgit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04 Desktop auto-finds my wifi network based HP OfficeJet Pro 8720 successfully on boot. It seems to create two instances of printer, neither of which seem to do anything.
Log file has "No destination host name supplied by cups-browsed for printer \"HP_OfficeJet_Pro_8720_AE46BB_\", is cups-browsed running?"
cups-browsed is running:
$ service cups-browsed status
● cups-browsed.service - Make remote CUPS printers available locally
     Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2020-08-10 17:24:45 BST; 2 days ago
   Main PID: 905 (cups-browsed)
      Tasks: 3 (limit: 9356)
     Memory: 4.8M
     CGroup: /system.slice/cups-browsed.service
             └─905 /usr/sbin/cups-browsed

Aug 10 17:24:45 shart-Yoga3 systemd[1]: Started Make remote CUPS printers available locally.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 13 10:35:15 2020
Lpstat: device for HP_OfficeJet_Pro_8720_AE46BB_: implicitclass://HP_OfficeJet_Pro_8720_AE46BB_/
MachineType: LENOVO 80HE
Papersize: a4
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP_OfficeJet_Pro_8720_AE46BB_.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP_OfficeJet_Pro_8720_AE46BB_.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-42-generic root=UUID=2bbae2f7-9256-4aa3-a665-681fc9613e16 ro quiet splash resume=UUID=ebd536cc-b52c-462a-9835-86e7f3faf627 vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/08/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: A6CN47WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: VIUU4
dmi.board.vendor: LENOVO
dmi.board.version: 31900058 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo YOGA 3 Pro-1370
dmi.modalias: dmi:bvnLENOVO:bvrA6CN47WW:bd12/08/2014:svnLENOVO:pn80HE:pvrLenovoYOGA3Pro-1370:rvnLENOVO:rnVIUU4:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoYOGA3Pro-1370:
dmi.product.family: IDEAPAD
dmi.product.name: 80HE
dmi.product.sku: LENOVO_MT_80HE_BU_idea_FM_Lenovo YOGA 3 Pro-1370
dmi.product.version: Lenovo YOGA 3 Pro-1370
dmi.sys.vendor: LENOVO

Revision history for this message
Misoldgit (simonrhart) wrote :
Revision history for this message
Misoldgit (simonrhart) wrote :

Text gives the game away:
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP_OfficeJet_Pro_8720_AE46BB_.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP_OfficeJet_Pro_8720_AE46BB_.ppd: Permission denied.

Found to be security issue with ppd file. Changed to 644 and print works fine.

Revision history for this message
Misoldgit (simonrhart) wrote :

Does beg the question though why the ppd file had the wrong permissions - does that need fixing?

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.