On 6/17/10 12:12 PM, "no-re...@cfengine.com" <no-re...@cfengine.com> wrote:
> Forum: Cfengine Help
> Subject: Re: /var/cfengine/bin
> Author: Beto
> Link to topic: https://cfengine.com/forum/read.php?3,17499,17533#msg-17533
> 
> I don't know why purge would be dangerous unless something is broken.  It
> never caused a problem until I started using rpms from cfengine.com that
> install the cf-engine binaries into the wrong directory.
> 
> Every cfengine sample file and document I've seen states that the binaries are
> installed into /usr/local/sbin.  The thing that's strange about it is that
> whoever built the rpms evidently had to override the default configure file to
> install them into /var/cfengine/bin.  I believe by default they install into
> /usr/local/sbin. 
> 
> Go figure.
> 
> Unfortunately I can't access the bug tracker to submit a report against the
> rpm install directory being wrong.  Maybe someone else that views this as a
> problem can.

Historically at least, the installation put them in "the usual system PATH"
aka /usr/local or whatever.  Policy was then to copy or "cache" those to
/var/cfengine as needed, with the assumption that /usr, etc. may very well
be auto-mounted and "go away" from time to time.

I agree this is a bit odd for a RPM, requiring users to have
/var/cfengine/bin in their PATH is not really what documentation I've read
supports and seems to violate POLA.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to