From 3a61bacdcb4ea99c4b09e83de882747ad210041a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 6 Sep 2014 15:50:39 +0200 Subject: [PATCH] nfs-utils: create /var/lock/subsys The NFS server needs to create files in /var/lock/subsys/, but this directory doesn't exist in our skeleton. This commit makes sure it gets created by the S60nfs startup script, which fixes the operation of the NFS server (tested with rpcbind). Reported-by: Ofer Heifetz Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/nfs-utils/S60nfs | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nfs-utils/S60nfs b/package/nfs-utils/S60nfs index 49dab70151..4afee558be 100755 --- a/package/nfs-utils/S60nfs +++ b/package/nfs-utils/S60nfs @@ -16,6 +16,7 @@ # The /var/lib/nfs directory is actually on a tmpfs filesystem. mkdir -p /var/lib/nfs/sm mkdir -p /var/lib/nfs/sm.bak +mkdir -p /var/lock/subsys touch /var/lib/nfs/etab touch /var/lib/nfs/rmtab touch /var/lib/nfs/state