aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-06-06 15:43:00 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-06-06 15:43:21 +0200
commit05f521938fc56308077f0f58a38ebe3a0c7ffaad (patch)
tree8935a1194a9e78c59cefc6e8bdf8a178fe6d2bb1 /rc.d
parentf2bd5f04a2447dc0fba0129e7cfd6f2eb44729fa (diff)
downloadinitscripts-05f521938fc56308077f0f58a38ebe3a0c7ffaad.tar
initscripts-05f521938fc56308077f0f58a38ebe3a0c7ffaad.tar.gz
initscripts-05f521938fc56308077f0f58a38ebe3a0c7ffaad.tar.bz2
initscripts-05f521938fc56308077f0f58a38ebe3a0c7ffaad.tar.xz
initscripts-05f521938fc56308077f0f58a38ebe3a0c7ffaad.zip
readonly-root: remount rpc_pipefs if readonly-root is used
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 81984d9a..bd22991e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -397,6 +397,10 @@ 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
if [[ " $fsckoptions" != *" -y"* ]]; then