Bug 768550
Summary: | /lib/systemd/system/nfs-server.service does not reference dependency on rpcbind | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pete Travis <me> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | bfields, jlayton, johannbg, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | nfs-utils-1.2.5-4.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-01-22 05:25:42 UTC | Type: | --- | ||||
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
Pete Travis
2011-12-16 23:37:55 UTC
(In reply to comment #0) > Description of problem: > the NFS service fails to start unless the rpcbind service is running, but the > dependency is not appropriately referenced in > /lib/systemd/system/nfs-server.service > [ sip ] > adding 'Wants=rpcbind.service' to /lib/systemd/system/nfs-server.service fixes > this. > > I just rebooted to test - my nfs mounts defined in /etc/fstab are still the > slowest units to load... So the After=syslog.target network.target rpcbind.service line does not start cause rpcbind to be start before the nfs server?? Created attachment 549758 [details]
testing dependencies and illustrating workaround
testing procedure
After= does not cause rpcbind to be started with nfs-server. the Wants= does cause rpcbind to be started with nfs-server. I've attached the process I used to establish this, and my workaround/solution, hope it helps. Note that there is a new set of unit files in bug 769879 that you can take for a spin and test. Just follow what's mentioned in comment 2 The nfs.target in that set of units already requires rpcbinds.service nfs-utils-1.2.5-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nfs-utils-1.2.5-4.fc16 Package nfs-utils-1.2.5-4.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nfs-utils-1.2.5-4.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0618/nfs-utils-1.2.5-4.fc16 then log in and leave karma (feedback). With the updated nfs-utils, the nfs service can be started as expected. I've added karma to the package, thank you! nfs-utils-1.2.5-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |