[Pkg-salt-team] Salt-minion PATH in init script
Julien Cristau
julien.cristau at logilab.fr
Mon Oct 13 12:14:58 UTC 2014
On Sun, Oct 12, 2014 at 16:55:14 +0200, Olivier Lambert wrote:
> Hi!
>
> I use Salt in Debian (stable and testing). It works great for my
> usage. Thanks for the good packaging work!
>
> But when I started to use other folders for my executables, like
> "/usr/local/bin", it started to be a real pain. After some research I
> found the origin: It's because the PATH defined in the init script is
> only:
> /sbin:/usr/sbin:/bin:/usr/bin
>
> Is it possible to change this to a more "complete" path? Like the
> default one for the root user, which is:
> /usr/local/sbin:/usr/local/
> bin:/usr/sbin:/usr/bin:/sbin:/bin
>
> Or at least, to have an alternative to set it properly in /etc/default.
>
> What do you think about that?
>
The init script is a conffile, you're free to modify it. I think by
default not including /usr/local makes more sense.
Cheers,
Julien
--
Julien Cristau <julien.cristau at logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
More information about the pkg-salt-team
mailing list