also sprach martin f krafft <[EMAIL PROTECTED]> [2004.11.13.1236 +0100]: > Sarge's debootstrap creates /etc/resolv.conf as a dead link to > /etc/resolvconf/run/resolv.conf, without installing resolvconf. > Please see #272257 for more information.
Similarly, the nfsroot is affected. The following patch fixes that
in a very similar way:
--- /tmp/subroutines-linux 2004-11-14 20:39:33.000000000 +0100
+++ /usr/share/fai/subroutines-linux 2004-11-14 20:43:27.000000000 +0100
@@ -92,6 +92,11 @@
# now we can copy fstab
[ -f $fs ] && mv $fs $fs.old
cp -p $LOGDIR/$fstab $fs
+ if [[ $(readlink $FAI_ROOT/etc/resolv.conf) =
'/etc/resolvconf/run/resolv.conf' ]]; then
+ rm -f $FAI_ROOT/etc/resolv.conf
+ cat /etc/resolv.conf > $FAI_ROOT/etc/resolv.conf
+ chmod 644 $FAI_ROOT/etc/resolv.conf
+ fi
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_mirror() {
Please apply!
--
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED]
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [EMAIL PROTECTED]
before he died, rabbi zusya said: "in the world to come they will not
ask me, 'why were you not moses?' they will ask me, 'why were you not
zusya?'"
signature.asc
Description: Digital signature
