installation pb with fai 2.4.2 (BUG?)

william Famy william.famy at laposte.net
Sat Sep 25 13:55:22 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi

I try install and configure the new FAI 3.4.2 from
http://people.debian.org/~mika/fai/release/

I install

fai-client_3.4.2_all.deb
fai-nfsroot_3.4.2_all.deb
fai-server_3.4.2_all.deb
fai-doc_3.4.2_all.deb
fai-quickstart_3.4.2_all.deb
fai-setup-storage_3.4.2_all.deb


under the master

fai.conf:

FAI_CONFIG_SRC=nfs://192.168.100.251/srv/fai/config
LOGUSER=fai
FAI_LOGPROTO=ssh
MNTPOINT=/media/mirror


make-fai-nfsroot.conf:

NFSROOT=/srv/fai/nfsroot
TFTPROOT=/srv/tftp/fai
FAI_CONFIGDIR=/srv/fai/config
FAI_DEBOOTSTRAP="squeeze http://192.168.100.11/debian"
FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
FAI_DEBOOTSTRAP_OPTS="--exclude=info"

fai-setup -v
install tftp and dhcp server.

boot client.

Arghh fai 3.3 client version.

cd /srv/fai/nfsroot/live/filesystem.dir
chroot .
dpkg -i fai-client_3.4.2_all.deb
fai-nfsroot_3.4.2_all.deb
fai-setup-storage_3.4.2_all.deb

cp /etc/fai/* /srv/fai/nfsroot/live/filesystem.dir/etc/fai/


reboot client:

fai 3.4.2 15 sept 2010
And still the message

FAI_CONFIG_SRC is set to nfs://192.168.100.251/srv/fai/config
mount.nfs: mount point /var/lib/fai/config does not exist.
error in task confdir traceback: task_error main

So let's try to create the directory
under chroot

root at fai-squeeze3:/usr/lib/fai# head -7 subroutines
#! /bin/bash
#Dirty patch
mkdir -p /var/lib/fai/config
# $Id$
#*********************************************************************
#
# subroutines -- useful subroutines for FAI

now client boot and install

If i look under subroutine i saw
task_savelog() {

    mkdir -p $FAI_ROOT/var/{lib,log}/fai



but task_install do not call  task_savelog:


task_install() {

    echo $$ > $stamp

    save_dmesg

    task partition
    task mountdisks
    task extrbase
    task mirror
    task debconf
    task prepareapt
    task updatebase
    task instsoft
    task configure
    task finish
    task tests
    task chboot

So where is the PB.

I prefer not stay with my dirty patch in subroutine.

Regards.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREIAAYFAkyd4yoACgkQtBZWkq9aICCItACdGJ7clZQGACKuKqlL00LBoikk
lA4AoIkKNsknroM9UYIYU+h7cOzBLOcQ
=MiDA
-----END PGP SIGNATURE-----


More information about the linux-fai mailing list