[Bug 1765765] Re: on nfsboot 18.04 bionic, internet addresses arn't resolve properly
Brian Nelson
1765765 at bugs.launchpad.net
Wed Feb 20 15:44:54 UTC 2019
@Guillermo
The OS shouldn't be trying to raise the interface as it's already configured during the boot process. You can't reconfigure the network interface while you're booting from the network :)
You need to modify /etc/network/interfaces on your boot server to set the interface to manual. See step 5 under 'creating your NFS installation' on this page
https://help.ubuntu.com/community/DisklessUbuntuHowto
Related to this, I also set 'net.ifnames=0' in the kernel boot line so
the network devices are always named ethX rather than hardware-specific
names. That's personal preference though.
@beta-tester
Strange. Without specifying 'ip=dhcp' perhaps it was sometimes getting a bootp or rarp response without a DNS server settings? Just a guess. If 'ip=X' isn't set, it defaults to any autoconfig protocol. I'd suggest setting the ip option specifically to dhcp if that's what you expect it to use.
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1765765
Title:
on nfsboot 18.04 bionic, internet addresses arn't resolve properly
Status in systemd package in Ubuntu:
Confirmed
Bug description:
since ubuntu 17.10, 18.04, when i nfsboot into ubuntu live an internet address isn't resolved properly.
i always have to put a dns server to the /etc/resolv.conf file by hand to get address resolving to work again.
it wasn't an issue in ubuntu 16.04 and not an issue in ubuntu 17.04.
it began to be an issue starting with ubuntu 17.10 and ist still an issue now 18.04 daily-live.
the different between /etc/resolv.conf of ubuntu <=17.04 and utuntu >=17.10 is, that now only one entry is in the resolv.conf file with IP 127.0.0.53
in the erlier version there was an additional entry on top with the IP of the local DNS server(router).
when i nfsboot ubuntu 18.04, adjust the /etc/resolv.conf file by hand to get internet address resolving to work,
when i then install ubuntu 18.04 from that environment to the local harddrive, the networksettings on the newly installed local harddisk is always setted up to "manual" IP in the /etc/network/interfaces - so it will not get a proper IP from the router.
after a new installation, i always have to set it up "dhcp" to get the IP from the router as usual.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1765765/+subscriptions
More information about the foundations-bugs
mailing list