dirinstall overwrites hostname in fai 5.3

andrew bezella abezella at archive.org
Wed Dec 14 23:40:43 CET 2016


hello -

i don't have cycles to spend debugging this now, but it appears that in
fai 5.3 a dirinstall is changing the hostname on the host system again.
verified that 5.3.2 has this issue, 5.1.2 does not.  unsure exactly
where/when it was introduced.

on a somewhat related note (involving dirinstalls) i was curious about
the change where the $LOGSERVER variable was moved from fai.conf to the
configuration space (as noted in
http://wiki.fai-project.org/wiki/Variables).  in a typical dirinstall
this is not used ($LOGUSER is unset in `/usr/lib/fai/subroutines`). but
there are situations where the system is unable to get the config space,
in which case fai tries to save the logs for a "noaction" event.  since
$LOGSERVER is in the configspace, it falls back to $SERVER which is not
going to work (for our setup).  i guess the question is whether it could
be moved back to fai.conf or if there was a pressing need for it to be
relocated.  minor issue, though.

thanks!

andy 

-- 
andrew bezella <abezella at archive.org>
Internet Archive


More information about the linux-fai mailing list