[Bug 847782] Re: installer writes a permanent ethernet entry in interfaces file

Clint Byrum clint at fewbar.com
Tue Sep 13 21:37:42 UTC 2011


Excerpts from Leo Milano's message of Tue Sep 13 19:43:36 UTC 2011:
> Clint: something to consider. How would people (except for advanced
> users) fix their interfaces files? Can we provide a bash script
> installed by default, that will allow people to quickly install a
> vanilla interfaces files? It could also save a backup, and optionally
> restore it with another script. Or a simple debian package that can be
> installed, etc.
> 

That script is already installed with network-manager as:

/usr/lib/NetworkManager/ifblacklist_migrate.sh

Not the most discoverable thing, but it does the job.

> One way or the other, I think we need to provide an easy fix for the
> average user hit by this (and having the typical home networking
> connection, which doesn't need any customization of the interfaces
> file). Otherwise, we'll be one step further from fixing bug #1 :)

More important is making sure people understand that this is the reason
things are booting slow for them. I'm not convinced that normal installs
lead to 'auto ethX' in /etc/network/interfaces. Only installs that
started life without network-manager will have it, which is certainly
not the norm.

-- 
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:
  In Progress
Status in “netcfg” source package in Oneiric:
  Won't Fix
Status in “upstart” source package in Oneiric:
  In Progress

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