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
