cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] ras / RHEL5: Trim trailing slash for nfs	clients
Date: Thu, 07 Apr 2011 18:59:06 +0200	[thread overview]
Message-ID: <4D9DED5A.20908@redhat.com> (raw)
In-Reply-To: <1302183909-17267-1-git-send-email-lhh@redhat.com>

ACK

On 04/07/2011 03:45 PM, Lon Hohberger wrote:
> The exportfs command and/or rpc.mountd trim the trailing slashes
> when reporting things in /var/lib/nfs/etab, causing mismatch problems
> for the nfsclient resource agent.
> 
> Resolves: rhbz#592624
> 
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
>  rgmanager/src/resources/nfsclient.sh |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/rgmanager/src/resources/nfsclient.sh b/rgmanager/src/resources/nfsclient.sh
> index 2aeee78..138370d 100755
> --- a/rgmanager/src/resources/nfsclient.sh
> +++ b/rgmanager/src/resources/nfsclient.sh
> @@ -266,6 +266,8 @@ verify_path()
>  		return $OCF_ERR_ARGS
>  	fi
>  
> +	OCF_RESKEY_path="${OCF_RESKEY_path%/}"
> +
>  	[ -d "$OCF_RESKEY_path" ] && return 0
>  
>  	ocf_log err "$OCF_RESKEY_path is not a directory"



      reply	other threads:[~2011-04-07 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 13:45 [Cluster-devel] [PATCH] ras / RHEL5: Trim trailing slash for nfs clients Lon Hohberger
2011-04-07 16:59 ` Fabio M. Di Nitto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9DED5A.20908@redhat.com \
    --to=fdinitto@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).