Bug 1619240
Summary: | Connecting to a remote CUPS server is not possible | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vasil Sarafov <vasil.sarafov> | ||||
Component: | cups | Assignee: | Zdenek Dohnal <zdohnal> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 28 | CC: | jpopelka, twaugh, vasil.sarafov, zdohnal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | cups-2.2.6-22.fc28 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-09-11 16:54:21 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1625913 | ||||||
Attachments: |
|
Description
Vasil Sarafov
2018-08-20 12:02:22 UTC
Hi Vasil, thank you for reporting this issue! Are cups.service or cups.socket services running? If they are, would you mind sending me logs from journal for cups (see https://fedoraproject.org/wiki/How_to_debug_printing_problems ). I suspect the latest TLS enhancement can be the reason, so would you mind trying to downgrade cups too for now? Hi Zdenek , yes, both cups.service and cups.socket were running while I was testing. I can confirm that downgrading from cups-1:2.2.6-18.fc28.x86_64 to cups-1:2.2.6-14.fc28.x86_64 is a workaround. Now it's possible to connect and print from the remote CUPS server without any issues. Therefore your suspicion is probably correct. Now back to debugging the problem. It was not possible to turn on cupsctl LogLevel=debug2 while the /etc/cups/client.conf file was pointing to the remote CUPS server. cupsctl was failing with "Bad file descriptor". I needed to repoint it to localhost and restart cups.service and cups.socket. The journal log after restoring cups to point to the remote server is in the attached archive file. The log is captured after a direct restart of cups.service and cups.socket and an attempt to open system-config-printer, which, as mentioned in the ticket's description, also fails with "Bad file descriptor". Hope this helps. Cheers, Vasil Created attachment 1479875 [details]
Cups journal log with enabled debug flag
Vasil, would you mind attaching files from your /etc/cups directory? I'll revert the patch for now, you can try it from this scratch build. https://koji.fedoraproject.org/koji/taskinfo?taskID=29395052 And when you have cups-2.2.6-18 installed, if you set 'SSLOptions MinTLS1.0', are you able to connect to remote server? cups-2.2.6-22.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b9711d0f6 cups-2.2.6-22.fc28 has been pushed to the Fedora 28 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-2018-7b9711d0f6 cups-2.2.6-22.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |