Bug 1808409 - the default printer for the system set with lpoptions is being ignored
Summary: the default printer for the system set with lpoptions is being ignored
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 31
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-28 12:44 UTC by hw
Modified: 2020-03-18 02:22 UTC (History)
2 users (show)

Fixed In Version: cups-2.2.12-6.fc31
Clone Of:
Environment:
Last Closed: 2020-03-18 02:22:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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