Package: fai-client
Version: 4.4~beta20
Severity: important

git commit f5c1a5c0 broke softupdate for usage with local chroots
(use case: updating dirinstall-ed chroots):

| # fai -v -C /etc/grml/fai -s file:////etc/grml/fai/config -c$CLASSES -u FOO 
softupdate /srv/chroot
|              -------------------------------------------------
|                    Fully Automatic Installation  -  FAI
|
|                    4.4~beta20+0~20150529134659.252~1.gbp8b02aa   (c) 1999-2015
|                Thomas Lange  <la...@informatik.uni-koeln.de>
|              -------------------------------------------------
| Starting FAI execution - 20150609_153049
| Hostname set to grml-forensic
|
| Using configuration files from /etc/grml/fai
| Calling task_confdir
| FAI_FLAGS:
| Setting SERVER=. Value extracted from FAI_CONFIG_SRC.
| No monitor daemon defined.
| ERROR: Kernel modules directory /lib/modules/2.6.32-5-openvz-amd64 not 
available. Only found:
| ls: cannot access /lib/modules/*: No such file or directory
|
| Error in task confdir. Code: 790
| Traceback: task_error task_confdir task fstart main
| $LOGUSER is undefined. Not saving log files to remote.
| FATAL ERROR. Installation stopped.

Usually the hosts' kernel doesn't match the system being built
inside the chroot, so the kernel check fails here. There doesn't
seem to be the option to execute 'skiptask confdir' somewhere but
only create $LOGDIR/skip.savelog which can't be used if fai is
called through a wrapper since $LOGDIR isn't available before fai's
execution.

regards,
-mika-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2015-06-09t17-30...@devnull.michael-prokop.at

Reply via email to