Package: fai
Version: 2.6.7
Severity: important

In create_base() resolv.conf is removed from the nfsroot:
  rm -f $NFSROOT/etc/resolv.conf
When create_nfsroot() calls upgrade_nfsroot() $NFSROOT/etc/resolv.conf
does not exist. This causes 
  $ROOTCMD apt-get update
to fail, e.g.:

Creating base.tgz
`/etc/fai/dists/sarge/sources.list' ->
`/tmp/fai/nfsroot/sarge/etc/apt/sources.list'
Upgrading /tmp/fai/nfsroot/sarge
Failed to fetch
http://security.debian.org/dists/stable/updates/main/binary-i386/Packages.gz
Temporary failure resolving 'security.debian.org'
....

Fix:
--- make-fai-nfsroot.distrib    2005-03-24 15:28:40.000000000 +0100
+++ make-fai-nfsroot    2005-03-24 15:28:52.000000000 +0100
@@ -343,6 +343,7 @@
 upgrade_nfsroot() {
 
     cp -p $v /etc/resolv.conf $NFSROOT/etc/resolv.conf-installserver
+    cp -p $v /etc/resolv.conf $NFSROOT/etc/resolv.conf
     $ROOTCMD apt-get update
     $ROOTCMD apt-get -fyu install
     $ROOTCMD apt-get check

$NFSROOT/etc/resolv.conf will later be overwritten by the link to
/tmp/etc/resolv.conf.

regards, Ralf Nyrén


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.28-pb
Locale: LANG=C, LC_CTYPE=sv_SE (charmap=ISO-8859-1)

Versions of packages fai depends on:
ii  debootstrap                   0.2.45-0.2 Bootstrap a basic Debian system
ii  nfs-kernel-server [nfs-server 1:1.0.6-3  Kernel NFS server support
ii  perl                          5.8.4-4    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to