Bug#707070: [Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

2013-05-07 Thread Michael Biebl
Am 07.05.2013 10:53, schrieb Antti-Juhani Kaijanaho:
 Package: network-manager
 Version: 0.9.8.0-4
 Severity: normal
 
 I have this new laptop of mine configured so that ifupdown manages eth0 (due 
 to
 what looks to be #665439).
 
 8-- /etc/network/interfaces
 ajk@teralehti:~$ 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
 allow-hotplug eth0
 iface eth0 inet dhcp
   hwaddress ether 00:03:0D:5C:C6:6C
 8-- /etc/network/interfaces
 
 
 8-- /etc/NetworkManager/NetworkManager.conf
 [main]
 plugins=ifupdown,keyfile
 
 [ifupdown]
 managed=false
 8-- /etc/NetworkManager/NetworkManager.conf
 
 
 Despite this, NetworkManager starts a second dhclient for eth0:

What does
sudo grep 'type=802-3-ethernet' /etc/NetworkManager/system-connections/*
say?

If it returns any hits, does it help if you remove those files?

Is that a regression from 0.9.4?

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#707070: [Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

2013-05-07 Thread Antti-Juhani Kaijanaho
On Tue, May 07, 2013 at 04:08:23PM +0200, Michael Biebl wrote:
 What does
 sudo grep 'type=802-3-ethernet' /etc/NetworkManager/system-connections/*
 say?

ajk@teralehti:~$ sudo grep 'type=802-3-ethernet' 
/etc/NetworkManager/system-connections/*
/etc/NetworkManager/system-connections/Automaattinen, 
kiinteä:type=802-3-ethernet

 If it returns any hits, does it help if you remove those files?

I ifdown'ed eth0 and stopped network-manager, then removed that file, then
started both again.  The file exists again, and I have two dhclients as before.

 Is that a regression from 0.9.4?

No.  I observed this behavior in 0.9.4.0-10 and upgraded to see if it's been
fixed.

-- 
Antti-Juhani Kaijanaho


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#707070: [Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

2013-05-07 Thread Michael Biebl
found 707070 0.9.4.0-10
thanks

Am 07.05.2013 16:34, schrieb Antti-Juhani Kaijanaho:
 On Tue, May 07, 2013 at 04:08:23PM +0200, Michael Biebl wrote:
 What does
 sudo grep 'type=802-3-ethernet' /etc/NetworkManager/system-connections/*
 say?
 
 ajk@teralehti:~$ sudo grep 'type=802-3-ethernet' 
 /etc/NetworkManager/system-connections/*
 /etc/NetworkManager/system-connections/Automaattinen, 
 kiinteä:type=802-3-ethernet
 ^^
Could you translate that for me?

 If it returns any hits, does it help if you remove those files?
 
 I ifdown'ed eth0 and stopped network-manager, then removed that file, then
 started both again.  The file exists again, and I have two dhclients as 
 before.

Hm, that is strange. We probably have to start investigate, why NM adds
that connection file.


 Is that a regression from 0.9.4?
 
 No.  I observed this behavior in 0.9.4.0-10 and upgraded to see if it's been
 fixed.

Ok, marking it as found in earlier version.

Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#707070: [Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

2013-05-07 Thread Antti-Juhani Kaijanaho
On Tue, May 07, 2013 at 04:38:11PM +0200, Michael Biebl wrote:
 Am 07.05.2013 16:34, schrieb Antti-Juhani Kaijanaho:
  ajk@teralehti:~$ sudo grep 'type=802-3-ethernet' 
  /etc/NetworkManager/system-connections/*
  /etc/NetworkManager/system-connections/Automaattinen, 
  kiinteä:type=802-3-ethernet
  ^^
 Could you translate that for me?

Likely Automatic, wired.


-- 
Antti-Juhani Kaijanaho



signature.asc
Description: Digital signature


Bug#707070: [Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

2013-05-07 Thread Michael Biebl

Am 2013-05-07 10:53, schrieb Antti-Juhani Kaijanaho:

Package: network-manager
Version: 0.9.8.0-4
Severity: normal

I have this new laptop of mine configured so that ifupdown manages 
eth0 (due to

what looks to be #665439).

8-- /etc/network/interfaces
ajk@teralehti:~$ 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
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 00:03:0D:5C:C6:6C
8-- /etc/network/interfaces



Dan Williams, the upstream maintainer, was so kind to help me debug 
this.


So, the issue here seems to be, that you are changing the mac address 
of the interface, and the ifupdown plugin doesn't listen to mac address 
changes and updates the unmanaged specs for that.


As a workaround for now, Dan suggests the following:

For now the user can put the changed MAC into 
/etc/NetworkManager/NetworkManager.conf in the 
unmanaged-devices=mac:hwaddr in the [keyfile] section too
and in 0.9.10 ifupdown should probably get converted to use 
interface-name:eth0 instead



Cheers,
Michael


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org