diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/rpc-user | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/patches/rpc-user b/debian/patches/rpc-user deleted file mode 100644 index e9a8b8e..0000000 --- a/debian/patches/rpc-user +++ /dev/null @@ -1,31 +0,0 @@ ---- a/modules.d/95nfs/nfs-start-rpc.sh -+++ b/modules.d/95nfs/nfs-start-rpc.sh -@@ -9,7 +9,7 @@ - command -v portmap > /dev/null && [ -z "$(pidof portmap)" ] && portmap - if command -v rpcbind > /dev/null && [ -z "$(pidof rpcbind)" ]; then - mkdir -p /run/rpcbind -- chown rpc:rpc /run/rpcbind -+ chown _rpc:root /run/rpcbind - rpcbind - fi - ---- a/modules.d/95nfs/parse-nfsroot.sh -+++ b/modules.d/95nfs/parse-nfsroot.sh -@@ -126,5 +126,5 @@ - # rpc user needs to be able to write to this directory to save the warmstart - # file - mkdir -p /var/lib/rpcbind --chown rpc:rpc /var/lib/rpcbind -+chown _rpc:root /var/lib/rpcbind - chmod 770 /var/lib/rpcbind ---- a/modules.d/95nfs/module-setup.sh -+++ b/modules.d/95nfs/module-setup.sh -@@ -125,7 +125,7 @@ - - # 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 -- grep -E '^nfsnobody:|^rpc:|^rpcuser:' "$dracutsysrootdir"/etc/passwd >> "$initdir/etc/passwd" -+ grep -E '^nfsnobody:|^_rpc:|^rpcuser:' "$dracutsysrootdir"/etc/passwd >> "$initdir/etc/passwd" - grep -E '^nogroup:|^rpc:|^nobody:' "$dracutsysrootdir"/etc/group >> "$initdir/etc/group" - - dracut_need_initqueue |