On Tue, Oct 04, 2011 at 03:39:41PM +1100, Andrew Beekhof wrote: > On Thu, Sep 29, 2011 at 6:17 PM, Andreas Mock <[email protected]> wrote: > > See below... > > > >> -----Original Message----- > >> From: [email protected] > >> [mailto:[email protected]] On Behalf Of Andrew Beekhof > >> Sent: Thursday, September 29, 2011 6:59 AM > >> To: General Linux-HA mailing list > >> Subject: Re: [Linux-HA] Install problems with ha resource > >> > I don't think it's mandated by the spec, at least it doesn't say > >> > so :) > >> > >> Actually the spec says '/usr/ocf/resource.d': > >> > >> > >> https://github.com/ClusterLabs/OCF-spec/blob/master/ra/resource-agent-api.txt#L132 > >> > >> I guess some packaging guideline got it pushed into lib and the spec > >> wasn't updated. > >> At any rate, it is not intended to be admin/user/builder configurable. > > > > Funny argumentation: > > - Today the default OCF_ROOT path is not as stated in the spec. > > - Someone changed it to a different path in real packaging. > > RedHat and SuSE are selling products based on that. Why does > > it not matter? Because it works. > > - The reason for that change is not known at the moment > > - Let's change the spec to reflect the reality > > - BUT: Don't change the spec to allow relocation of OCF_ROOT when > > there are meaningful arguments for doing so. > > Its not funny at all. > The last point is based on the amount of subtle breakage that is > likely to occur since everything was written for a fixed value of > /usr/lib/ocf
Indeed there is a possibility that different packages have different locations configured, but then it's up to the user to take care of that. > I'm also yet to come across any "meaningful arguments for doing so" either. We already have allowed changing OCF_ROOT in both cluster-glue and resource-agents. And there is also the OCF_ROOT environment variable. So, this discussion is mostly moot. Whether arguments are meaningful or not, I don't think I can judge that. Thanks, Dejan > > ;-) > > > > Best regards > > Andreas Mock > > > > > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
