aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-05-28 17:57:48 +0200
committerVáclav Pavlín <vpavlin@redhat.com>2013-05-28 17:57:48 +0200
commit718550312d46b9ef7b9aaa2d7ba020273a17adf7 (patch)
tree41f6dff9e1de78fda569d0460ac3e56526fc9726
parenteff44ad9f3ca12696858a0dbc76b2fce6d48a72b (diff)
downloadinitscripts-718550312d46b9ef7b9aaa2d7ba020273a17adf7.tar
initscripts-718550312d46b9ef7b9aaa2d7ba020273a17adf7.tar.gz
initscripts-718550312d46b9ef7b9aaa2d7ba020273a17adf7.tar.bz2
initscripts-718550312d46b9ef7b9aaa2d7ba020273a17adf7.tar.xz
initscripts-718550312d46b9ef7b9aaa2d7ba020273a17adf7.zip
readonly-root: remount rpc_pipefs if readonly-root is used
-rwxr-xr-xsystemd/fedora-readonly4
1 files changed, 4 insertions, 0 deletions
diff --git a/systemd/fedora-readonly b/systemd/fedora-readonly
index 0690cd45..64362974 100755
--- a/systemd/fedora-readonly
+++ b/systemd/fedora-readonly
@@ -170,4 +170,8 @@ if [ "$READONLY" = "yes" -o "$TEMPORARY_STATE" = "yes" ]; then
done
fi
fi
+
+ if mount | grep -q /var/lib/nfs/rpc_pipefs ; then
+ mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs && service rpcidmapd restart
+ fi
fi