[Pkg-utopia-maintainers] Bug#530024: eth0 Wired interface not managed (on squeeze install/upgrade)

Fabian Greffrath fabian at greffrath.com
Mon Apr 26 08:34:11 UTC 2010


Hi,

I'd like to add to this discussion that this bug does not only affect
upgrades to squeeze but also fresh suqeeze installs. I experienced this
last week when I installed squeeze via debian-testing-i386-netinst.iso
of 2010/04/22: network-manager happily tried to connect to a wireless
network although the computer still had a cable connection to the
router.

> The approach Ubuntu took, is to comment out /e/n/i entries in a postinst
> migration script, which matches
> (auto,allow-hotplug) <device>
> iface <device> inet dhcp
> 
> while keeping a backup file of the old configuration.
> 
> Haven't decided yet, which route to take and am open for other suggestions.

Instead of hacking on the configuration file, couldn't this get
implemented directly in network-manager code? I mean something like

	if ((auto || allow-hotplug) && dhcp) 
		managed /* i.e. behave as if commented out
		           in /etc/network/interfaces */

 - Fabian







More information about the Pkg-utopia-maintainers mailing list