On 03/18/2011 11:35 AM, Marko Potocnik wrote:
> If you use symbolic links in Filesystem resource agent directory
> parameter, then monitoring operation fails, because actual mount point
> in /proc/mounts (or the output of mount command) is diferent as the
> configured one.
> 
> Here is the patch that fixes this:
> 
> --- Filesystem_new_org  2011-03-18 11:32:37.000000000 +0100
> +++ Filesystem_new      2011-03-18 12:27:35.000000000 +0100
> @@ -1002,0 +1003,6 @@
> +
> +       #Resolve symlinks in MOUNTPOINT
> +       resolved_mntpnt=`readlink -f $MOUNTPOINT`
> +       if [ $? -eq 0 ]; then
> +               MOUNTPOINT=$resolved_mntpnt
> +       fi

looks fine to me. though dejan will most probably request that you
resend the patch as an attachment ;)

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bha...@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            off...@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to