Bug 1808409

Summary: the default printer for the system set with lpoptions is being ignored
Product: [Fedora] Fedora Reporter: hw
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 31CC: twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cups-2.2.12-6.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-18 02:22:02 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:

Description hw 2020-02-28 12:44:15 UTC
Description of problem:
the default printer for the system set with lpoptions is being ignored

The default printer is entered into /etc/cups/lpoptions as can be expected.  Yet programs like libreoffice show a different printer as the default printer.

This has been working before upgrading from Fedora 30.

Version-Release number of selected component (if applicable):


How reproducible:
upgrade from Fedora 30 to 31

Steps to Reproduce:
1. as root: lpoptions -d <printername>
2. start libreoffice and print a document
3.

Actual results:
the setting of the default printer is being ignored

Expected results:
the default printer for all users should be correctly set

Additional info:
Cups is running on a different server which is specified in /etc/cups/client.conf .  The the same printer as on the client has been specified as the default printer on the server just in case.

Comment 1 Zdenek Dohnal 2020-03-04 11:57:41 UTC
Hi,

thank you for reporting the issue!

I was able to reproduce it even in F30 since it has the same version as F31 by:

$ lpoptions -d <print-queue>
$ lpoptions

(no output)

Comment 2 Fedora Update System 2020-03-04 15:36:40 UTC
FEDORA-2020-644f24ed1c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-644f24ed1c

Comment 3 Fedora Update System 2020-03-04 21:49:22 UTC
cups-2.2.12-6.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-644f24ed1c

Comment 4 Fedora Update System 2020-03-18 02:22:02 UTC
cups-2.2.12-6.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.