package: fai
version: 3.1.8
severity: wishlist
tags: patch

Hi,

I frequently set up machines with d-i and then use FAI softupdates to maintain 
them. Therefore /var/lib/fai/disk_var.sh never exists and I always have the 
error

fai.log:cp: cannot stat `/var/lib/fai/disk_var.sh': No such file or directory

in my logs.
    
Changing line 506 in /usr/lib/fai/subroutines (in current trunk or in 3.1.8) 
from

cp -p /var/lib/fai/disk_var.sh $LOGDIR # use the last disk_var during update

to 

[ -f /var/lib/fai/disk_var.sh ] && cp -p /var/lib/fai/disk_var.sh $LOGDIR #...

fixes this. 


regards,
        Holger

Attachment: pgpi2iMYpezkS.pgp
Description: PGP signature

Reply via email to