Browse Source

95nfs: /var/lib/nfs/statd/sm is /var/lib/nfs/sm on SUSE

Reference: boo#1177462
master
Daniel Molkentin 4 years ago committed by Daniel Molkentin
parent
commit
5840c466dc
  1. 3
      modules.d/95nfs/module-setup.sh

3
modules.d/95nfs/module-setup.sh

@ -122,7 +122,8 @@ install() {
inst "$moddir/nfs-lib.sh" "/lib/nfs-lib.sh" inst "$moddir/nfs-lib.sh" "/lib/nfs-lib.sh"
mkdir -m 0755 -p "$initdir/var/lib/nfs/rpc_pipefs" mkdir -m 0755 -p "$initdir/var/lib/nfs/rpc_pipefs"
mkdir -m 0770 -p "$initdir/var/lib/rpcbind" mkdir -m 0770 -p "$initdir/var/lib/rpcbind"
mkdir -m 0755 -p "$initdir/var/lib/nfs/statd/sm" [ -d "$initdir/var/lib/nfs/statd/sm" ] && mkdir -m 0755 -p "$initdir/var/lib/nfs/statd/sm"
[ -d "$initdir/var/lib/nfs/sm" ] && mkdir -m 0755 -p "$initdir/var/lib/nfs/sm"


# Rather than copy the passwd file in, just set a user for rpcbind # Rather than copy the passwd file in, just set a user for rpcbind
# We'll save the state and restart the daemon from the root anyway # We'll save the state and restart the daemon from the root anyway

Loading…
Cancel
Save