ctdb and setting environment variables early in startup

Steve French smfrench at gmail.com
Tue Jun 21 07:03:04 UTC 2016


On Tue, Jun 21, 2016 at 1:59 AM, Martin Schwenke <martin at meltin.net> wrote:
> 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.

A typo!! You are right.  Thank you.  I may actually be able to give
you useful information on ctdb problems now that I can read the logs
more easily!

-- 
Thanks,

Steve



More information about the samba-technical mailing list