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 1230862 - cups-browsed with underscore in print queue name
Summary: cups-browsed with underscore in print queue name
Keywords:
Status: CLOSED DUPLICATE of bug 1167408
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cups-filters
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-11 16:09 UTC by Devin Bougie
Modified: 2015-06-16 15:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 15:56:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Devin Bougie 2015-06-11 16:09:53 UTC
Description of problem:
Our EL7 clients are using cups-browsed to discover printers shared from our central EL7 cups server.  Most of our queues have underscores in their names, and for some reason cups-browsed is changing the underscores to dashes.  This breaks the queues for our EL7 clients.

When running cups-browsed --debug, for example, we see:
------
cups-browsed: browse packet received from x.x.x.x
cups-browsed: browsed queue name is w320_br_5470
cups-browsed: Found CUPS queue: w320-br-5470 on host x.x.x.x.
cups-browsed: Bonjour IDs: Service name: "Wilson 3rd Floor Black and White Duplex", Service type: "", Domain: ""
------

Which then gives:
------
lpstat -v w320-br-5470
device for w320-br-5470: ipp://x.x.x.x:631/printers/w320-br-5470
------

This doesn't work, as the queue on the server is actually w320_br_5470.

When looking at the cups-filters changelog, I see:

------
CHANGES IN V1.0.62
- cups-browsed: Allow underscore characters in print queue names.
Thanks to Tim Waugh from Red Hat for the bug report (Bug #1241).
------

Version-Release number of selected component (if applicable):
cups-1.6.3-17
cups-filters 1.0.35-15

How reproducible:
Always

Steps to Reproduce:
1. use cups-browsed on EL7 to connect to shared queues that contain an underscore in their name

Actual results:
The underscore in the queue name is replaced with a dash.

Expected results:
The queue name on the client should match the queue name on the server.

Comment 3 Devin Bougie 2015-06-11 21:34:57 UTC
For what it's worth, cups-filters 1.0.62 does appear to resolve this issue.  Any supportable fix for RHEL7 would be greatly appreciated.

Comment 4 Tim Waugh 2015-06-16 15:56:11 UTC

*** This bug has been marked as a duplicate of bug 1167408 ***


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