Skip to content

Commit d615934

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(nfs): give /run/rpcbind ownership to rpc user
Avoid errors when rpcbind tries to write to the /run/rpcbind directory.
1 parent 0e4df7a commit d615934

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules.d/95nfs/nfs-start-rpc.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if modprobe sunrpc || strstr "$(cat /proc/filesystems)" rpc_pipefs; then
99
command -v portmap > /dev/null && [ -z "$(pidof portmap)" ] && portmap
1010
if command -v rpcbind > /dev/null && [ -z "$(pidof rpcbind)" ]; then
1111
mkdir -p /run/rpcbind
12+
chown rpc:rpc /run/rpcbind
1213
rpcbind
1314
fi
1415

0 commit comments

Comments
 (0)