FS#41137 - [nfs-utils] nfs-server.service fails when nfs-client.target is also enabled
Attached to Project:
Arch Linux
Opened by Ed Branch (branch) - Tuesday, 08 July 2014, 22:27 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 03 February 2015, 14:48 GMT
Opened by Ed Branch (branch) - Tuesday, 08 July 2014, 22:27 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 03 February 2015, 14:48 GMT
|
Details
Description:
nfs-server.service fails due to an ordering cycle on rpc-statd-notify if nfs-client.target is also enabled. Additional info: * package version 1.3.0-3 * Exert from boot log: Jul 07 10:13:45 fortuna systemd[1]: Found ordering cycle on rpc-statd-notify.service/start Jul 07 10:13:45 fortuna systemd[1]: Found dependency on nfs-server.service/start Jul 07 10:13:45 fortuna systemd[1]: Found dependency on rpc-gssd.service/start Jul 07 10:13:45 fortuna systemd[1]: Found dependency on nfs-client.target/start Jul 07 10:13:45 fortuna systemd[1]: Found dependency on rpc-statd-notify.service/start Jul 07 10:13:45 fortuna systemd[1]: Breaking ordering cycle by deleting job nfs-server.service/start * Suggested fix: Add the following line to the [Unit] section of /usr/lib/systemd/system/nfs-client.target DefaultDependencies=False This will prevent systemd from inferring an "After=" from the "Wants=" in this target file. Steps to reproduce: 1) systemctl enable nfs-server.service nfs-client.target 2) reboot Can also reproduce just by trying to start both on same command: systemctl start nfs-server.service nfs-client.target |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Tuesday, 03 February 2015, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.2-2
Tuesday, 03 February 2015, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.2-2
FS#41139, requesting closure of this report.https://bbs.archlinux.org/viewtopic.php?id=183999
https://bbs.archlinux.org/viewtopic.php?id=184588
https://bbs.archlinux.org/viewtopic.php?id=189548
In all cases the suggested fix seems to do the trick.