sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #00081
[Bug 1729910] Re: lp ignores ~/.cups/lpoptions in 17.10
Hello Gabriel, or anyone else affected,
Accepted cups into artful-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/cups/2.2.4-7ubuntu3 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, details of your
testing will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: cups (Ubuntu Artful)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-artful
--
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1729910
Title:
lp ignores ~/.cups/lpoptions in 17.10
Status in cups package in Ubuntu:
Fix Released
Status in cups source package in Artful:
Fix Committed
Bug description:
[Impact]
* During some refactoring done to cupsGetNamedDest function used in
many different parts of the code a regression has been introduced
causing the per-user default printer setting (in ~/.cups/lpoptions) to
be ignored.
This bug has been introduced in Artful due to the refactoring. Earlier
releases are fine, similarly this bug is fixed upstream for Bionic.
[Test Case]
1. Make sure at least 2 printers are set up in cups.
2. Set one of them as global default.
3. Create a user default setting (~/.cups/lpoptions) with the other printer set as default:
Default other_printer
4. Run lpstat -d.
Expected result:
User default printer is displayed.
Actual result:
Global default printer is displayed.
[Regression Potential]
* The regression potential is minial, as this is a very simple bugfix and is already included in the latest (2.2.5+) releases of cups (including Bionic).
* The only setups affected may be those depending (possibly unintentionally) on the incorrect behavior. Their users may observe default printer change.
[Other Info]
* Original bug description
LP ignores the settings defined in ~/cups/lpoptions in artful
Steps to reproduce:
1) Define a default print in lpoptions that differs from one in /etc/cups/printers.conf
2) Execute lpstat -d
3) Above will output default defined in prints.conf instead of ~/cups/lpoptions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1729910/+subscriptions