Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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