Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5493987C for ; Fri, 24 May 2013 01:14:29 +0000 (UTC) Received: (qmail 17650 invoked by uid 500); 24 May 2013 01:14:27 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 17577 invoked by uid 500); 24 May 2013 01:14:27 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 16745 invoked by uid 99); 24 May 2013 01:14:26 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 01:14:26 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 322E26A33; Fri, 24 May 2013 01:14:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ahuang@apache.org To: commits@cloudstack.apache.org Date: Fri, 24 May 2013 01:14:52 -0000 Message-Id: <2453e67ea72841158eb6219834e146c3@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [28/50] [abbrv] git commit: updated refs/heads/vmsync to 6a1e1e8 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 Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/11f85c9c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/11f85c9c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/11f85c9c Branch: refs/heads/vmsync Commit: 11f85c9c9e5ab06e53ebdf8f42fca8054850b1c9 Parents: 49e39e5 Author: Rajesh Battala Authored: Wed May 15 17:21:46 2013 +0530 Committer: Prasanna Santhanam Committed: Wed May 22 13:58:36 2013 +0530 ---------------------------------------------------------------------- services/secondary-storage/scripts/ssvm-check.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/11f85c9c/services/secondary-storage/scripts/ssvm-check.sh ---------------------------------------------------------------------- diff --git a/services/secondary-storage/scripts/ssvm-check.sh b/services/secondary-storage/scripts/ssvm-check.sh index a401164..7b83c98 100644 --- a/services/secondary-storage/scripts/ssvm-check.sh +++ b/services/secondary-storage/scripts/ssvm-check.sh @@ -67,12 +67,12 @@ fi # check to see if we have the NFS volume mounted 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 ] then echo "NFS is currently mounted" # 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 if [ $MOUNTPT != "/proc/xen" ] # mounted by xen then