You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entire CUPS web interface freezes when I try to do (almost) anything on the Administration tab. Sometimes at least the non-Administration tabs start working after a few minutes (without the need to kill the daemon), but sometimes they don’t. There is no way to add printers or otherwise make CUPS work. 😠
From the error_log file:
E [09/Jun/2021:14:22:31 +0200] [Client 2] pam_authenticate() returned 9 (Authentication service cannot retrieve authentication info)
E [09/Jun/2021:14:22:31 +0200] [Client 9] Unable to encrypt connection: Error in the push function.
E [09/Jun/2021:14:24:06 +0200] [Client 8] pam_authenticate() returned 9 (Authentication service cannot retrieve authentication info)
E [09/Jun/2021:14:24:37 +0200] [Client 1] pam_authenticate() returned 9 (Authentication service cannot retrieve authentication info)
E [09/Jun/2021:14:26:40 +0200] [Client 2] pam_authenticate() returned 9 (Authentication service cannot retrieve authentication info)
E [09/Jun/2021:14:26:40 +0200] [Client 7] Unable to encrypt connection: Error in the push function.
E [09/Jun/2021:14:26:40 +0200] [Client 8] Unable to encrypt connection: Error in the push function.
The ~same configuration used to work fine back in 2017.
Adding Allow @LOCAL doesn’t help.
Removing Encryption required doesn’t “help”.
Sometimes a password prompt is shown and then it freezes. Sometimes there’s no password prompt and it freezes immediately. (This may be just the browser’s password caching.)
Typing user credentials (from wheel) or root credentials has the same effect; it just freezes.
TLS works fine; the CUPS website is properly encrypted and the supplied certificate is used.
The distro is ArchLinux, with its standard CUPS packages:
As for cups-pk-helper, it is mentioned here and I thought it could resolve the authentication problem, but it has no effect whatsoever.
It looks like CUPS won’t work on current systems. I haven’t used it for ~4 years now, so maybe I have missed something: Is CUPS still maintained? Or has there been a replacement I’ve missed? It doesn’t seem to be compatible with current PAM and systemd.
The text was updated successfully, but these errors were encountered:
@andrejpodzimek First, you need to file this issue over in the OpenPrinting CUPS project. That's where the 2.3.3op2 release came from... (so yes, CUPS is still maintained :)
Second, the errors you are seeing indicate a far greater problem than just an issue with CUPS - key parts of your OS install seem to be missing or broken (PAM, GNU TLS, etc.) More than likely you need to contact your Linux distribution for help, as CUPS by itself depends on a large number of things working in the OS - if they are broken in some way, then naturally CUPS will not work.
My ArchLinux install works just fine. Yes, it uses systemd-homed and other relatively modern parts, but there are no authentication problems other than the one with CUPS.
(Plus the question is whether this is an authentication problem at all — because CUPS freezes and says nothing, one can’t really tell.)
I don’t see why GnuTLS would be broken; the connection to the CUPS web UI uses the right certificate and is encrypted, so GnuTLS / OpenSSL / whatever CUPS uses seems to work fine.
Because CUPS is the only “misbehaving” daemon on the whole OS, I would not blame the OS itself before investigating why exactly CUPS is getting stuck.
The entire CUPS web interface freezes when I try to do (almost) anything on the Administration tab. Sometimes at least the non-Administration tabs start working after a few minutes (without the need to kill the daemon), but sometimes they don’t. There is no way to add printers or otherwise make CUPS work. 😠
From the
error_log
file:Debug logs:
loading the default page (
https://server.domain.name.in.certificate:632
)clicking on the Admin tab for the first time
clicking on Add Printer button (after which it freezes):
This is all. Afterwards it’s completely frozen.
Non-default settings in
cupsd.conf
(which worked fine in ~2017, so I’m just reusing them):The ~same configuration used to work fine back in 2017.
Adding
Allow @LOCAL
doesn’t help.Removing
Encryption required
doesn’t “help”.Sometimes a password prompt is shown and then it freezes. Sometimes there’s no password prompt and it freezes immediately. (This may be just the browser’s password caching.)
Typing user credentials (from
wheel
) orroot
credentials has the same effect; it just freezes.TLS works fine; the CUPS website is properly encrypted and the supplied certificate is used.
The distro is ArchLinux, with its standard CUPS packages:
As for
cups-pk-helper
, it is mentioned here and I thought it could resolve the authentication problem, but it has no effect whatsoever.It looks like CUPS won’t work on current systems. I haven’t used it for ~4 years now, so maybe I have missed something: Is CUPS still maintained? Or has there been a replacement I’ve missed? It doesn’t seem to be compatible with current PAM and
systemd
.The text was updated successfully, but these errors were encountered: