Skip to contentSkip to conversation

nfs-mountd: Add missing dependency on systemd service

PATCH New Ricardo Ribalda Delgado 1 participant 1 message Jul 15, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs-mountd: Add missing dependency on systemd service

As described on: https://www.spinics.net/lists/linux-nfs/msg62022.html

mountd requires rpcbind, otherwise it can can fail to start, which can lead to nfsroot not booting.

Upstream: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=907426b00bdcd69d9a56ac1870990e8ae8c6fe9f

---
 meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service +1 -0
index 27ea58d366..3c3a8022ce 100644
@@ -1,6 +1,7 @@
 [Unit]
 Description=NFS Mount Daemon
 DefaultDependencies=no
+After=rpcbind.socket
 Requires=proc-fs-nfsd.mount
 After=proc-fs-nfsd.mount
 After=network.target local-fs.target
Signature · 1 line
2.20.1