Bug 616569

Summary: hp-toolbox failure to setup printer insufficient privileges
Product: Red Hat Enterprise Linux 6 Reporter: Issue Tracker <tao>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: azelinka, bzeranski, pknirsch, tao, tgummels, twoerner, ykopkova
Target Milestone: rcKeywords: Patch
Target Release: 6.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.10.9-1.el6 Doc Type: Bug Fix
Doc Text:
The hp-toolbox utility failed to add new printers due to incorrect handling of CUPS authentication in the "cupsext" Python extension.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:12:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 564511, 564512, 580566    
Attachments:
Description Flags
hplip-addprinter.patch none

Description Issue Tracker 2010-07-20 19:41:44 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Issue Tracker 2010-07-20 19:41:46 UTC
Event posted on 07-07-2010 02:32pm EDT by woodard

Description of problem:
When hp-toolbox doesn't find a printer, it allows you to set one up. If you don't have the firewall running, it can find it. However, because hp-toolbox isn't running as root it can't setup the printer. However, hp-toolbox won't let you run it as root and so you can't use it for its intended purpose to setup printers. 

How reproducible:
always

Steps to Reproduce:
delete all the printers.
turn off firewall
have a HP printer on the local network.
run hp-toolbox it prompts you to setup the printer
It finds the printer but when you try to create the printer it says "creating printer failed restart cups and try again"
restarting cups doesn't help
running hp-toolbox as root doesn't help

Actual results:
 "creating printer failed restart cups and try again"

Expected results:
it sets up the printer

Additional info:

[ben@snog Desktop]$ rpm -qf `which hp-toolbox` 

hplip-gui-3.9.8-33.el6.x86_64
cups-1.4.2-33.el6.x86_64
This event sent from IssueTracker by tgummels  [LLNL (HPC)]
 issue 1112533

Comment 5 Tim Waugh 2010-11-12 16:38:59 UTC
Created attachment 460095 [details]
hplip-addprinter.patch

Comment 7 Tim Waugh 2011-01-12 13:25:55 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The hp-toolbox utility failed to add new printers due to incorrect handling of CUPS authentication in the "cupsext" Python extension.

Comment 10 errata-xmlrpc 2011-05-19 13:12:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0574.html