softupdate needs -N

Per Foreby perf at ddg.lth.se
Thu Aug 16 15:45:19 CEST 2007


On Thu, 16 Aug 2007, Henning Glawe wrote:

> On Wed, Aug 15, 2007 at 11:12:25AM +0200, Per Foreby wrote:
>> 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.
>
> I vote for renewing classes by default... thats what I have been always
> doing when implementing softupdates; this also allows to add classes to
> machines when softupdating (while there is no 'clean' way for
> class-removal).

I second that, but with -N as default, there should be another optoion 
to skip renewing. Someone might have comples class scripts that take 
forever to execute. (Can't think of any such scripts, but I guess thats 
why classes are reused.)

/Per


More information about the linux-fai mailing list