Bug 2019842

Summary: Add more warning messages about drivers going deprecated
Product: Red Hat Enterprise Linux 9 Reporter: Zdenek Dohnal <zdohnal>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Dancak <pdancak>
Severity: high Docs Contact:
Priority: high    
Version: 9.0CC: psklenar
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-2.3.3op2-11.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:56:19 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:
Deadline: 2022-02-28   

Description Zdenek Dohnal 2021-11-03 12:55:27 UTC
Since CUPS 3.0 - the first version without classic driver support - is planned for the autumn/winter in 2022, RHEL 9 will be the last RHEL with drivers and we need to notify customers as many ways as possible.

Together with dkuklinek we urged RHEL Insights rule for gathering and then notifying customers, but only fraction of customers uses Insights, so it would be great if something similar is generated in CUPS as well.

lpadmin command already spawns a warning when an user creates non-ipp-everywhere queue, but we need to cover the following:

1) creating queues via web ui - relevant upstream commits:
https://github.com/OpenPrinting/cups/pull/244
https://github.com/OpenPrinting/cups/pull/242
https://github.com/OpenPrinting/cups/pull/218

2) copying old printers.conf as 'installation' of queues or migration from older RHELs, so no new queues are created, so no warning is spawn - needs to be implemented upstream

Comment 2 Zdenek Dohnal 2021-11-12 09:28:33 UTC
Added one more fix from upstream (to don't generate the warning for driverless driver generator via lpadmin):

https://github.com/OpenPrinting/cups/commit/ecd1cc58a5da7d9ea539b6b673b89c3dfb474586

Prepared on private-zdohnal-c9s branch till acks are gathered. The verification will be done manually because it doesn't make sense writing a test for checking warnings.

Comment 8 errata-xmlrpc 2022-05-17 15:56:19 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 (new packages: cups), 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-2022:3970