It looks like ipconfig tells us that the secondary name server is
0.0.0.0 if it's not set. Or my dnsmasq is probably misconfigured.
Anyways, there's the updated patch:
=== modified file 'scripts/ltsp_nbd'
--- scripts/ltsp_nbd 2008-03-04 12:35:43 +0000
+++ scripts/ltsp_nbd 2008-03-05 00:32:29 +0000
@@ -101,6 +109,17 @@
cp ./lts.conf ${rootmnt}/etc/
fi
+
+ if [ -n "$IPV4DNS0" ] && [ ! "$IPV4DNS0" = "0.0.0.0" ] ; then
+ echo "# created by the LTSP initramfs" > ${rootmnt}/etc/resolv.conf
+ echo "nameserver $IPV4DNS0" >> ${rootmnt}/etc/resolv.conf
+ fi
+
+ if [ -n "$IPV4DNS1" ] && [ ! "$IPV4DNS1" = "0.0.0.0" ]; then
+ echo "nameserver $IPV4DNS1" >> ${rootmnt}/etc/resolv.conf
+ fi
+
+
[ "$quiet" != "y" ] && log_begin_msg "Running /scripts/nfs-bottom"
run_scripts /scripts/nfs-bottom
[ "$quiet" != "y" ] && log_end_msg
--
[patch] if DHCP is used, also write a new /etc/resolv.conf
https://bugs.launchpad.net/bugs/198376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs