-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`lpoptions -o <PrinterSpecificOption>=<value> behavior inconsistent with man page #681
Comments
You actually want to report this in the CUPS 2.x project... |
Above is perhaps related to a more general Ubuntu 20.04.6 distro packaging issue:
Yet both files are provided by the same .deb package:
|
@tillkamppeter Does Ubuntu patch the default lpoptions behavior? |
I have checked and
|
The code responsible for deciding into which file to write the option settings of
Here is nothing like |
This code snippet is really the same as upstream, but CUPS 2.3.1 upstream :) . This is fixed in 2.4.3 and it's dupe of #454 - @dmullis please contact your support for backporting the patch or upgrade to CUPS 2.4.3 in case you want this behavior fixed for you. |
Describe the bug
If running as root,
strace
revealslpoptions
behavior inconsistent with the man page.To Reproduce
Steps to reproduce the behavior:
Observe that in base Ubuntu installation, no file
/etc/cups/lpoptions
exists.$ ls -l /etc/cups/lpoptions ls: cannot access '/etc/cups/lpoptions': No such file or directory
Run:
Output excerpt:
Expected behavior
Current man page of lpoptions reads:
The above text is unchanged from that in the
lpoptions
man page from Ubuntu apt packagecups-client
.Note that following the failed attempt to open in read-only mode the non-existent
/etc/cups/lpoptions
, no write or other access is attempted. Rather,/root/.cups/lpoptions
is written into.System Information:
The text was updated successfully, but these errors were encountered: