Bug 1437345

Summary: Remove cups-resolv_reload.patch
Product: [Fedora] Fedora Reporter: Zdenek Dohnal <zdohnal>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 27CC: jpopelka, pmkellly72, qe-baseos-daemons, sait.a.umar, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-2.2.4-8.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1432088 Environment:
Last Closed: 2018-01-16 17:15:51 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: 1374239    
Bug Blocks:    

Comment 1 Sammy 2017-04-01 12:20:26 UTC
cups 2.2.0-6 Fedora 25 is breaking all the the printer connections.

systemd: Starting CUPS Scheduler...
cupsd: cupsd: Cannot get a status of /etc/resolv.conf
systemd: cups.service: Main process exited, code=exited, status=1/FAILURE
systemd: Failed to start CUPS Scheduler.
systemd: cups.service: Unit entered failed state.
systemd: cups.service: Failed with result 'exit-code'.

Comment 2 Zdenek Dohnal 2017-04-03 06:28:52 UTC
Thank you, Sammy. I will check it. For now please downgrade to 2.2.0-5 release from koji https://koji.fedoraproject.org/koji/buildinfo?buildID=832937 .

Comment 3 Zdenek Dohnal 2017-04-03 10:25:48 UTC
Sammy, when does error happen? Because I tried my build in my Fedora 25 and it works there - nameservers ip change and printing too. Would you mind installing these rpms https://koji.fedoraproject.org/koji/taskinfo?taskID=18760132 and running it again and posting its output like in comment #1 ? It should print more info about error in stat function from errno.

Comment 4 Sammy 2017-04-03 12:55:18 UTC
It happens during the restart of cups service on all my machines. The culprit
is the last patch, removing it resolved the problem. I am now away from the
office (today) but happened on my laptop as well.

Comment 5 Sammy 2017-04-03 13:00:42 UTC
I installed those rpms on my laptop and restart cups and did not see the old
error messages, so perhaps they fixed it. Can test tomorrow on an actual
printer.

Comment 6 Zdenek Dohnal 2017-04-04 08:32:11 UTC
2.2.0-7 is same as 2.2.0-6, it just prints different error message - with errno (I wanted to find out what happened, because my CUPS works fine).

Comment 7 Zdenek Dohnal 2017-04-04 13:48:42 UTC
Sammy, I think you encountered same issue as Jirka and Doug in https://bugzilla.redhat.com/show_bug.cgi?id=1437065 , but cups managed to start after boot.

Comment 8 Sammy 2017-04-04 21:21:33 UTC
Sounds like it. After reboot printers were not shown. I restarted cupsd with
systemctl but that did not resolve it either. Tomorrow I am back in the office
and can check.

Comment 9 Sammy 2017-04-05 13:27:40 UTC
Yes, after reboot cups is not starting with those error messages ( -6 version).
If one manually starts cups.service then it finds my locally attached printer.

Comment 10 Pat Kelly 2017-04-05 13:30:06 UTC
This very repeatable on Lenovo H50-55 with AMD A10 processor. The systems are fully up to date F25 64 bit installations. Any time I do a restart, CUPs is not running. The http://localhost:631/ service is not available and no printers show in the Printers application of the All Settings group. Also, when trying to print from an application such as one of the Libre Office app's only print to file is available. If I do "systemctl restart cups.service" everything seems to go back to normal and printers work again. My Lenovo Intel E8400 machines (fully up to date F25 64 bit installations) do not show this problem.

Comment 11 Zdenek Dohnal 2017-04-05 14:39:40 UTC
Sammy, pmkelly,

as I wrote in https://bugzilla.redhat.com/show_bug.cgi?id=1437065 , patch is now temporarily removed in cups-2.2.0-7 version until I solved this issue.

Comment 12 Jan Kurik 2017-08-15 08:34:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 13 Fedora Update System 2018-01-12 11:38:42 UTC
cups-2.2.4-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0fd47a4396

Comment 14 Fedora Update System 2018-01-12 11:39:08 UTC
cups-2.2.4-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0fd47a4396

Comment 15 Fedora Update System 2018-01-12 15:49:54 UTC
cups-2.2.4-8.fc27 has been pushed to the Fedora 27 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-0fd47a4396

Comment 16 Fedora Update System 2018-01-16 17:15:51 UTC
cups-2.2.4-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.