Bug 1396893
Summary: | ypbind-1.38-6.fc25.x86_64 breaks nis/yp | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Corsepius <rc040203> | ||||
Component: | ypbind | Assignee: | Ralf Corsepius <rc040203> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 25 | CC: | adler, craig, fweimer, hhorak, mmuzila, paolini, pkubat | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ypbind-1.38-7.fc25 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-11-30 05:28:57 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: | |||||||
Attachments: |
|
Description
Ralf Corsepius
2016-11-21 06:02:12 UTC
(In reply to Ralf Corsepius from comment #0) > - For me, ypserv stopped working when upgrading to ypserv-1.38-6.fc25. > It did work with ypserv-1.38-5.fc24 (from fc25 Everything) + nss_nis. > Downgrading to ypbind-1.38-5.fc24.x86_64 immediately remedies this issue: Ouch, this of course should have read: > For me, ypbind stopped working when upgrading to ypbind-1.38-6.fc25. > It did work with ypbind-1.38-5.fc24 (from fc25 Everything) + nss_nis. Further observations: - Invoking ypbind in a shell/on the command line works. - "systemctl start ypbind.service" deterministically fails: # systemctl start ypbind.service Job for ypbind.service failed because a timeout was exceeded. .. # systemctl status ypbind.service ● ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder Loaded: loaded (/usr/lib/systemd/system/ypbind.service; enabled; vendor preset: disabled) Active: failed (Result: timeout) since Wed 2016-11-23 10:19:46 CET; 8min ago Process: 23153 ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS (code=exited, status=0/SUCCESS) Process: 23149 ExecStartPre=/usr/sbin/setsebool allow_ypbind=1 (code=exited, status=0/SUCCESS) Process: 23145 ExecStartPre=/usr/libexec/ypbind-pre-setdomain (code=exited, status=0/SUCCESS) Main PID: 23153 (code=exited, status=0/SUCCESS) - A ypserv-1.38-5 rebuilt from source for fc25 exposes the same issues as ypserv-1.38-6.fc26.fc25 Created attachment 1223329 [details] The patch mentioned in comment #2 Yeah! I believe to have found the cause: The systemd-devel being shipped with fedora >= 25 doesn't ship libsystemd-daemon, anymore. However, a patch to ypbind's configure.ac adds a check for libsystemd-daemon's *.pc file. This check fails, because none such file is being shipped and causes ypbind to be compiled without systemd support. At run-time this causes the mess above. A brute-force fix to this issue is to take out the check for libsystemd-daemon from ypbind-systemdso.patch (cf. attachment abvoe). Unless somebody objects, I will a patch to the packages. Taking. I am going to apply a patch to fc25 and rawhide ypbind-1.38-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5956cb7606 We found this to work well as temporary work-around while waiting for the patch: cp /usr/lib/systemd/system/ypbind.service /etc/systemd/system/ sed -i 's/Type=.*/Type=forking/' /etc/systemd/system/ypbind.service sed -i 's%ExecStart=.*%ExecStart=/usr/sbin/ypbind $OTHER_YPBIND_OPTS%' /etc/systemd/system/ypbind.service systemctl daemon-reload systemctl start ypbind And after ypbind is patched: rm /etc/systemd/system/ypbind.service systemctl daemon-reload systemctl restart ypbind I hope you find this helpful. ypbind-1.38-7.fc25 has been pushed to the Fedora 25 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-2016-5956cb7606 *** Bug 1398020 has been marked as a duplicate of this bug. *** Thank you. Now ypbind works fine (after an upgrade to f25. We are waiting for the update to become stable :-) ypbind-1.38-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |