[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: Re: [Linux-ha-dev] [Bug] wrong owner for ccm api fifo
From: Horms <horms () verge ! net ! au>
Date: 2003-07-18 23:24:49
[Download RAW message or body]
On Fri, Jul 18, 2003 at 04:50:38PM +0800, Zhu, Yi wrote:
>
> Hi,
>
> Below patch set the owner of ccm api fifo to $(ccmuid) (probably hacluster). Before,
> the owner is the user running the Makefile (probably root). This will make ccm always
> exit with rc=1 immediately.
>
>
> --- membership/ccm/Makefile.am.orig 2003-07-19 00:36:13.000000000 +0800
> +++ membership/ccm/Makefile.am 2003-07-19 00:33:06.000000000 +0800
> @@ -97,6 +97,8 @@
> test -p $(DESTDIR)$(ccmresfifo) || mkfifo -m 600 $(DESTDIR)$(ccmresfifo)
> -chgrp $(apigid) $(DESTDIR)/$(ccmreqfifo)
> -chgrp $(apigid) $(DESTDIR)/$(ccmresfifo)
> + -chown $(ccmuid) $(DESTDIR)/$(ccmreqfifo)
> + -chown $(ccmuid) $(DESTDIR)/$(ccmresfifo)
>
> uninstall-local:
> -test -p $(DESTDIR)$(ccmreqfifo) && rm $(DESTDIR)$(ccmreqfifo)
Thanks,
that looks good to me. I have committed it into the HEAD branch.
--
Horms
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic