From 718550312d46b9ef7b9aaa2d7ba020273a17adf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Tue, 28 May 2013 17:57:48 +0200 Subject: readonly-root: remount rpc_pipefs if readonly-root is used --- systemd/fedora-readonly | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'systemd') 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 -- cgit v1.2.1