[Bug 847782] Re: installer writes a permanent ethernet entry in interfaces file
Mark - Syminet
847782 at bugs.launchpad.net
Sat Dec 17 02:09:37 UTC 2011
We have servers which are all automatically configured by adding simple static entries to /etc/network/interfaces. Upon reboot, it's network reachable within about ten seconds while the monitor is hung saying, "Waiting 60 more seconds for network configuration..." - but it is pingable and accepting ssh connections with no problems.
Commenting out the sleep stanzas worked here also, but it would be far
better if the test checked properly and didn't start sleeping when
everything was up. Either that or maybe something in /etc/default to
tell it not to check period, I will maintain my own interfaces file.
Here's an example interfaces file, I think this is all syntactically
correct?:
root at 19r8s12:/etc# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.181
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
root at 19r8s12:/etc#
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/847782
Title:
installer writes a permanent ethernet entry in interfaces file
Status in “netcfg” package in Ubuntu:
Confirmed
Status in “upstart” package in Ubuntu:
Fix Released
Status in “netcfg” source package in Oneiric:
Won't Fix
Status in “upstart” source package in Oneiric:
Fix Released
Bug description:
If Ubiquity (the installer) is ran while connected to the internet via
ethernet, writes an "auto ethX" line in /etc/network/interfaces. This
means that the boot up process, including bringing up the X system by
upstart, will be delayed for whatever timeout is defined in
/etc/init/failsafe.conf (see bug 839595). This is currently 120
seconds.
So far, it seems like the best solution would be for the installer to
give the user the option to choose what to do with the interfaces file
after finishing installation. This will also be an issue with upgrades
to Oneiric, so the upgrade tool should probably offer the user to
"fix" the interfaces file. In all cases, the user should be offered a
sane default behavior.
Please see bug #839595 for more information
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/847782/+subscriptions
More information about the foundations-bugs
mailing list