Skip to content

Commit

Permalink
fix(nfs): give /run/rpcbind ownership to rpc user
Browse files Browse the repository at this point in the history
Avoid errors when rpcbind tries to write to the /run/rpcbind directory.
  • Loading branch information
aafeijoo-suse authored and johannbg committed Apr 21, 2022
1 parent 0e4df7a commit d615934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules.d/95nfs/nfs-start-rpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if modprobe sunrpc || strstr "$(cat /proc/filesystems)" rpc_pipefs; then
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
rpcbind
fi

Expand Down

0 comments on commit d615934

Please sign in to comment.