From 3d4380bb36eb108dc75fee7215b615f7800b0990 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 8 Jul 2015 16:52:45 +0800 Subject: nfs-utils: fix to start nfs-server correctly in systemd Add /etc/modules-load.d/nfsd.conf so that the system loads nfsd at start-up. Add proc-fs-nfsd.mount systemd unit file because it's needed for nfs server to start correctly. After this change, in a systemd based image, we can use `systemctl start nfs-server' to start the nfs server and things would work correctly. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils') diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount b/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount new file mode 100644 index 0000000000..630801b375 --- /dev/null +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/proc-fs-nfsd.mount @@ -0,0 +1,8 @@ +[Unit] +Description=NFSD configuration filesystem +After=systemd-modules-load.service + +[Mount] +What=nfsd +Where=/proc/fs/nfsd +Type=nfsd -- cgit 1.2.3-korg