tags 441199 + confirmed
thanks

Re: Jason Cormie 2007-09-07 <[EMAIL PROTECTED]>
> When installed hobbit-client doesnt return as many tests as expected.
> For example in my servers bb-hosts I have
> 
> AAA.BBB.CCC.DDD   XYZ.bla.ac.uk # ssh ntp http://XYZ.bla.ac.uk/
> 
> This returns the server tests: conn ssh http ntp
> 
> If I declare and export required variables in the
> /etc/default/hobbit-client file as below
> 
> HOBBITCLIENTHOME="/usr/lib/hobbit/client"
> 
> export HOBBITCLIENTHOME
> export HOBBITSERVERS
> export CLIENTHOSTNAME

Hi Jason,

thanks for the report.

I have no idea why this was working in my local setup, but I could
reproduce it when reinstalling the hobbit client. The problem was that
HOBBITCLIENTHOME needs to be exported as you found. Additionally, the
variables MACHINE and MACHINEDOTS were missing from the environment.
Setting them in the init script fixed the issue.

MACHINE="$CLIENTHOSTNAME"
MACHINEDOTS="`hostname -f`"
export HOBBITSERVERS HOBBITCLIENTHOME CLIENTHOSTNAME MACHINE MACHINEDOTS

Will be fixed in the next upload, rsn.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to