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 - hp-toolbox failure to setup printer insufficient privileges
Summary: hp-toolbox failure to setup printer insufficient privileges
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: hplip
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 6.1
Assignee: Tim Waugh
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 564511 564512 580566
TreeView+ depends on / blocked
 
Reported: 2010-07-20 19:41 UTC by Issue Tracker
Modified: 2018-11-14 19:22 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-05-19 13:12:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
hplip-addprinter.patch (528 bytes, patch)
2010-11-12 16:38 UTC, Tim Waugh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 674570 0 None None None Never
Red Hat Bugzilla 538352 0 low CLOSED Setup on HP network printer fails. 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 540721 0 low CLOSED HP setup and other utils don't prompt for root pw when needed 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2011:0574 0 normal SHIPPED_LIVE hplip bug fix update 2011-05-18 17:57:00 UTC

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


Note You need to log in before you can comment on or make changes to this bug.