[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
I have linked bug #1013843 to this one but I'd like to point out a few differences. * Bug #1013843 was filed against Quantal. The bug didn't affect Precise. * Quantal has resolvconf. So does the Quantal Desktop live CD. So did Precise. Earlier Ubuntus didn't. * The problem is observed at the late_command stage rather than after reboot. Nevertheless I think it's useful to address that bug along with this one (#388060): both reports lead to the conclusion that the handling of network configuration and nameserver information from stage to stage needs to be debugged such that it is correct in all scenarios, including that of netbooting a live CD to install Ubuntu to a local disk, running late_command, and rebooting into the installed system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/388060 Title: netboot insall of live cd results in a manual network interface configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubiquity/+bug/388060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
** Tags added: netboot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/388060 Title: netboot insall of live cd results in a manual network interface configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubiquity/+bug/388060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
** Changed in: casper (Ubuntu) Status: New => Triaged ** Changed in: casper (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/388060 Title: netboot insall of live cd results in a manual network interface configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubiquity/+bug/388060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
I can also confirm that this issue still exists in casper as of 2.04.2011. I am working with the BitDefender LiveCD (which uses casper) and have found that a PXE boot of the LiveCD does not update the /etc/resolv.conf. I move, additionally, to excise the "manual" method from /etc/network/interfaces to avoid this issue moving forward. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/388060 Title: netboot insall of live cd results in a manual network interface configuration -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
Looking at this following triaging bug 678450: casper's logic in 23networking seems broken. At that point in the install NetworkManager would not be installed. Would it be sufficient to just skip adding the "manual" method interfaces to /etc/network/interfaces, since omitting them would make their use manual? This at least shouldn't break servers, since they don't run NetworkManager, and would probably be reasonable for most users. -- netboot insall of live cd results in a manual network interface configuration https://bugs.launchpad.net/bugs/388060 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
I can confirm that this bug is still present in Maverick. To clarify the end user impact: When installing from PXE, this means that network is not working at the very first boot of the newly installed system, even though it worked during installation. This looks like quite a serious issue to me. According to https://wiki.ubuntu.com/Bugs/Importance, I think this means that this bug's importance should be classified as "High": "High: A bug which fulfills one of the following criteria: * Has a severe impact on a small portion of Ubuntu users (estimated) * Makes a default Ubuntu installation generally unusable for some users o For example, if the system fails to boot, or X fails to start, on a certain make and model of computer * A problem with an essential hardware component (disk controller, laptop built-in wireless, video card, keyboard, mouse) " -- netboot insall of live cd results in a manual network interface configuration https://bugs.launchpad.net/bugs/388060 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
I noticed the same problem on both karmic and lucid. If you PXE boot the live cd, the eth0 interface works as expected. If you then run the installer from the live cd and reboot, the network does not come up. If I change "iface eth0 inet manual" in /etc/network/interfaces to "iface eth0 inet dhcp" and restart the network or reboot, everything works again. This should happen automatically IMHO. -- netboot insall of live cd results in a manual network interface configuration https://bugs.launchpad.net/bugs/388060 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
I can confirm this. When installing via PXE boot using a Karmic Desktop Install CD, the installed system does not properly connect to the network automatically the way the live environment did. Running "sudo dhclient" gets an address, and it then connects fine, but when you reboot it is back to the improper configuration. Removing: auto eth0 iface eth0 inet manual from /etc/network/interfaces and rebooting solves the problem. Deleting the file also seems to work, though it isn't regenerated after doing so. This seems in keeping with what I've read suggesting that Network Manager doesn't need this file anymore (though perhaps it uses it if it is there?). In any case, this should be fixed, as it poses a significant barrier towards network based installs using the livecd. -- netboot insall of live cd results in a manual network interface configuration https://bugs.launchpad.net/bugs/388060 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 388060] Re: netboot insall of live cd results in a manual network interface configuration
** Description changed: Binary package hint: casper When netbooting the live CD over NFS, the network connection must be preserved throughout the live session so that the filesystem remains accessible. Currently, this is achieved by adding the following lines to /etc/network/interfaces which prevents network manager from attempting to reestablish a connection once the desktop finally appears: auto eth0 iface eth0 inet manual These lines are added by casper in a script called 23networking. Here are a few relevant lines from the script: if [ -z "${NETBOOT}" ]; then method="dhcp"; else method="manual"; fi if [ "$method" != dhcp ] || [ ! -x /root/usr/sbin/NetworkManager ]; then # ... cat >> "$IFFILE"