Your message dated Sun, 15 Dec 2013 14:11:09 +0100
with message-id <[email protected]>
and subject line closing this bug
has caused the Debian Bug report #689470,
regarding fai-server: customised fai.conf does not get installed into the 
nfsroot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
689470: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689470
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-server
Version: 4.0.3
Severity: important
Tags: upstream

I'm upgrading to FAI 4 to better support wheezy installs. I have a
customised fai.conf:

    # Where to find the FAI config space
    FAI_CONFIG_SRC=nfs://10.202.5.15/srv/fai/config
    
    # Allow unsigned packages. We trust our APT sources
    FAI_ALLOW_UNSIGNED=1

make-fai-nfsroot from 3.4 would copy it (and other stuff in /etc/fai)
into the nfsroot. fai-make-nfsroot does not.

This commit appears to be the culprit:

    commit 00680686dc8751a9c7623fb65a956ab7ddf6af5a
    Author: Thomas Lange <[email protected]>
    Date:   Tue Oct 18 15:31:20 2011 +0000
    
        do not copy fai files into the nfsroot
    
    diff --git a/bin/make-fai-nfsroot b/bin/make-fai-nfsroot
    index 019317a..ff413ed 100755
    --- a/bin/make-fai-nfsroot
    +++ b/bin/make-fai-nfsroot
    @@ -202,6 +202,10 @@ copy_fai_files() {
     
         # copy to nfsroot
         $ROOTCMD usermod -p "$FAI_ROOTPW" root
    +    mkdir $NFSROOT/etc/fai # create empty directory
    +    return # do not copy fai files at all
    +
    + 
         cp -RLpv $cfdir/* $NFSROOT/etc/fai
         # append additional variables to fai.conf for the install clients
         [ -z "$FAI_CONFIG_SRC" ] && echo 
"FAI_CONFIG_SRC=nfs://`hostname`$FAI_CONFIGDIR" >> $NFSROOT/etc/fai/fai.conf

This is also the cause of #685289.

I've worked around it by copying fai.conf into the nfsroot in a hook script.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Closing this bug, since the change of the behaviour was done by
intention.

The documentation will be improved to make this more clearer.
-- 
regards Thomas

--- End Message ---

Reply via email to