ctdb and setting environment variables early in startup
Martin Schwenke
martin at meltin.net
Tue Jun 21 06:59:56 UTC 2016
On Tue, 21 Jun 2016 01:55:45 -0500, Steve French <smfrench at gmail.com>
wrote:
> On Tue, Jun 21, 2016 at 1:29 AM, Martin Schwenke <martin at meltin.net> wrote:
> > On Tue, 21 Jun 2016 01:26:42 -0500, Steve French <smfrench at gmail.com>
> > wrote:
> >
> >> In bash I can see that HOME=/root is already exported in local
> >> sessions, but do you mean changing the ctdb.conf line from
> >>
> >> "HOME=/root"
> >> to
> >> "export HOME=/root"
> >>
> >> ...
> >>
> >> worth a try
> >
> > Yep. Whatever starts the daemon might clear HOME, so exporting it from
> > the configuration should do the trick.
>
> apparently it does clear HOME ... but
> export HOME=/root
>
> in /etc/ctdb/ctdb.conf didn't help
>
> (if anything it was worse, but hard to prove that since so many junk
> messages get logged for LTTNG HOME warning)
Ahhh... do you mean ctdb.conf or ctdbd.conf? The latter is the one
that is used.
peace & happiness,
martin
More information about the samba-technical
mailing list