[Pkg-utopia-maintainers] Bug#606268: Bug#606268: now ignores interfaces configured by d-i
Michael Biebl
biebl at debian.org
Tue Dec 7 22:44:30 UTC 2010
On 07.12.2010 23:21, Joey Hess wrote:
> Package: network-manager
> Version: 0.8.1-6
> Severity: serious
> Tags: d-i
>
> On upgrading to this version network manager stopped managing
> my wireless interface and my laptop's network was taken down.
Upgrading from which version?
> /etc/network/interfaces contains a standard stanza as setup by d-i
> for a wireless interface:
>
> # The primary network interface
> allow-hotplug wlan0
> iface wlan0 inet dhcp
> # wireless-* options are implemented by the wireless-tools package
> wireless-mode managed
> wireless-essid any
>
> /etc/NetworkManager/NetworkManager.conf contained managed=false. Setting
> managed=true works around the problem.
>
> Unfortunatly the /etc/network/interfaces munger introduced to fix
> #530024 was not a sufficient fix. It doesn't munge the above stanza at all
> when I run it by hand, due to the wireless-mode and wireless-essid lines.
>
> So, bug #569215 has basically been all that has been keeping wireless
> and some other networks managed by network-manager on newly installed
> and upgraded systems, for the past 6+ months..
I think you will agree though that if you have a configuration like yours for
wlan0 in /etc/network/interfaces and managed=false, then network-manager should
not manage it? The previous behaviour was simply a bug.
I also don't understand why you say that the network is taken down.
If the device is being marked unmanaged, NM should not touch it at all and as
you configured the interface in /e/n/i it should be brought up by ifupdown
during boot.
Could you please clarify what exactly happened? Was this only temporary
immediately after the upgrade? Is the problem reproducible after a upgrade?
>
> One approach would be for for /usr/lib/NetworkManager/ifblacklist_migrate.sh
> to convert stanzas containing any of these lines which d-i can include:
>
> wireless-mode managed
> wireless-essid *
> wireless-key1 *
> hostname *
Are you suggesting to create a keyfile connection based on the configuration
from /etc/network/interfaces?
Currently we don't do any conversion at all. We simply comment out any dhcp
iface configuration without any additional option.
If you install a new system using d-i and a /e/n/i configuration like your's is
created, the interface will be managed by ifupdown and not network-manager.
Or are you suggesting that NM still tries to take over the interface even if is
configured in /e/n/i?
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20101207/be82f951/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list