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
Fix CUPS socket path to be default /var/run/cups/cups.sock #35390
Conversation
We use default /var/run/cups/cups.sock in NixOS but here it's misdefined to be /run/cups.sock. Return it to default.
Use systemd to create the directory for UNIX socket. Also use localhost instead of 127.0.0.1 as is done in default cupsd.conf so that IPv6 is enabled when available.
649ec84
to
92b9919
Compare
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
@abbradar Wow, awesome work, thanks! No, don't remember. Firefox worked via network port, Libreoffice and GTK programs worked too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Push to staging please as this is a mass rebuild. :)
Yeah, I want to do so but am wary of changing branch in PR as this will ping a lot of people as code owners :D |
I want to backport it to 17.09, is it okay to cherry-pick mass rebuild changes to |
@abbradar Yes, it is! As I've just picked another big rebuild to 17.09 and haven triggered an evaluation on Hydra yet, wanna do it right now? :) |
Yep, will do. Thanks! P.S.: Tested with Chromium, it prints now. |
Argh, I pushed it to master by mistake. Will revert and push to staging instead. Lesson learnt, better ping random people than push mass rebuilds to master ~ __ ~ |
No worries. That happens to all of us. Thanks! |
17.09 actually doesn't require this PR -- it's a regression, |
Motivation for this change
Hopefully fixes #34963, closes #35190.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)Tested with
tests.printing.x86_64-linux
.lpstat -H
points to/var/run/cups/cups.sock
now.`@gnidorah Can you remember any other applications with broken printing besides Chromium? It'll help to generate less heat from my machine :D