mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2398: ssvm-check.sh failed with permission error
RPCbind service is running in the 4.2 systemVMs resulting in ssvm-check trying to write to the mountpoint. Avoid writing to the rpc_pipefs. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
49e39e51f2
commit
11f85c9c9e
@ -67,12 +67,12 @@ fi
|
|||||||
|
|
||||||
# check to see if we have the NFS volume mounted
|
# check to see if we have the NFS volume mounted
|
||||||
echo ================================================
|
echo ================================================
|
||||||
mount|grep -v sunrpc|grep nfs 1> /dev/null 2>&1
|
mount|grep -v sunrpc|grep -v rpc_pipefs|grep nfs 1> /dev/null 2>&1
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "NFS is currently mounted"
|
echo "NFS is currently mounted"
|
||||||
# check for write access
|
# check for write access
|
||||||
for MOUNTPT in `mount|grep -v sunrpc|grep nfs| awk '{print $3}'`
|
for MOUNTPT in `mount|grep -v sunrpc|grep -v rpc_pipefs|grep nfs| awk '{print $3}'`
|
||||||
do
|
do
|
||||||
if [ $MOUNTPT != "/proc/xen" ] # mounted by xen
|
if [ $MOUNTPT != "/proc/xen" ] # mounted by xen
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user