Bug 1816109

Summary: Queues are not cleaned up after stopping cups-browsed
Product: Red Hat Enterprise Linux 7 Reporter: Zdenek Dohnal <zdohnal>
Component: cups-filtersAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Dancak <pdancak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.8CC: pdancak, psklenar, thozza
Target Milestone: rcKeywords: Patch, TestCaseProvided, Triaged
Target Release: ---Flags: thozza: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-filters-1.0.35-28.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 19:55:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch none

Description Zdenek Dohnal 2020-03-23 11:23:36 UTC
cups-browsed does not clean queues which were created by it. It deletes only the first queue and ends after that.

How to reproduce:

1) set 'BrowsePoll' to a server, where there are 2+ queues
2) systemctl start cups-browsed
3) let it run for a while
4) systemctl stop cups-browsed
5) lpstat -a

Comment 2 Zdenek Dohnal 2020-03-23 13:48:23 UTC
Created attachment 1672692 [details]
Proposed patch

Patch from upstream. The testing will be covered by updated search_brq_printers test.

Comment 11 errata-xmlrpc 2020-09-29 19:55:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cups-filters bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3923