softupdate needs -N

Henning Sprang henning_sprang at gmx.de
Thu Aug 16 12:05:47 CEST 2007


Per Foreby wrote:
> Hi,
> 
> posting here instead of filing a bug report since I don't know if this
> is a bug or me doing something wrong.
> 
> In previous fai versions, softupdate worked without -N after a fresh
> install. In 3.1.8 "fai softupdate" gives me the following error:
> 
>   Try to read classes from /var/log/fai/FAI_CLASSES. Failed. Aborting.
> 
> Adding -N solved the problem, but I need -N each time I run softupdate.
> 
> This looks suspect:
> 
> task_savelog() saves FAI_CLASSES in /var/lib/fai, but task_defclass()
> looks for it i /var/log/fai (typo?).

Seems like a bug - location changed at one place and forgot to change at
the other... (or the one function uses a variable and the other not, or
they use different veriables).

Henning


More information about the linux-fai mailing list