[Pkg-utopia-maintainers] Bug#907747: network-manager manages interface managed by /etc/network/interfaces

Arian Sanusi debian at semioptimal.net
Sat Sep 1 11:05:14 BST 2018


Package: network-manager
Version: 1.12.2-2
Severity: normal

Dear Maintainer,

I have a bridge configured by ifupdown in /etc/network/interfaces. Even though NetworkManager.conf contains:
[ifupdown]
managed=false

at boot Network-Manager often seems not to make an attempt of connecting to a WiFi-AP which I think is a result of this.

interfaces' bridge section:

auto bridge
iface bridge inet static
	bridge-ports none
	address 10.0.0.1/24
I think this might be due to "bridge-ports none"

An extract of NetworkManager's log is attached - personal information was removed

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing'), (500, 'stable'), (400, 'unstable'), (300, 'experimental'), (1, 'experimental-debug')
Architecture: arm64 (aarch64)

Kernel: Linux 4.4.110-ARCH+ (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.117
ii  dbus                   1.12.10-1
ii  libaudit1              1:2.8.3-1+b1
ii  libbluetooth3          5.50-1
ii  libc6                  2.27-5
ii  libcurl3-gnutls        7.61.0-1
ii  libglib2.0-0           2.56.1-2
ii  libgnutls30            3.5.19-1
ii  libjansson4            2.11-1
ii  libmm-glib0            1.7.990-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.20-6
ii  libnm0                 1.12.2-2
ii  libpam-systemd         239-7
ii  libpolkit-agent-1-0    0.105-21
ii  libpolkit-gobject-1-0  0.105-21
ii  libpsl5                0.20.2-1
ii  libreadline7           7.0-5
ii  libselinux1            2.8-1+b1
ii  libsystemd0            239-7
ii  libteamdctl0           1.27-1
ii  libudev1               239-7
ii  libuuid1               2.32.1-0.1
ii  lsb-base               9.20170808
ii  policykit-1            0.105-21
ii  udev                   239-7
ii  wpasupplicant          2:2.6-18

Versions of packages network-manager recommends:
pn  crda             <none>
pn  dnsmasq-base     <none>
ii  iptables         1.6.2-1.1
ii  isc-dhcp-client  4.3.5-4+b1
pn  modemmanager     <none>
pn  ppp              <none>

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- no debconf information

-------------- next part --------------
systemd[1]: Starting Network Manager...
<info>  NetworkManager (version 1.12.2) is starting... (for the first time)
<info>  Read config: /etc/NetworkManager/NetworkManager.conf (lib: no-mac-addr-change.conf)
systemd[1]: Started Network Manager.
<info>  bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
<info>  manager[0x58a710e020]: monitoring kernel firmware directory '/lib/firmware'.
<info>  monitoring ifupdown state file '/run/network/ifstate'.
<info>  hostname: hostname: using hostnamed
<info>  hostname: hostname changed from (none) to "kevin23"
<info>  dns-mgr[0x58a7117910]: init: dns=default, rc-manager=resolvconf
<info>  rfkill0: found WiFi radio killswitch (at /sys/devices/platform/f8000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/ieee80211/phy0/rfkill0) (driver mwifiex_pcie)
<info>  manager[0x58a710e020]: rfkill: WiFi hardware radio set enabled
<info>  manager[0x58a710e020]: rfkill: WWAN hardware radio set enabled
<info>  init!
<info>        interface-parser: parsing file /etc/network/interfaces
<info>        interface-parser: source line includes interfaces file(s) /etc/network/interfaces.d
<info>        interface-parser: finished parsing file /etc/network/interfaces
<info>  found bridge ports none for bridge
<info>  adding bridge port none to eni_ifaces
<info>  management mode: unmanaged
<info>  devices added (path: /sys/devices/platform/f8000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/mlan0, iface: mlan0)
<info>  device added (path: /sys/devices/platform/f8000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/mlan0, iface: mlan0): no ifupdown configuration found.
<info>  devices added (path: /sys/devices/virtual/net/bridge, iface: bridge)
<info>  device added (path: /sys/devices/virtual/net/bridge, iface: bridge): no ifupdown configuration found.
<info>  devices added (path: /sys/devices/virtual/net/lo, iface: lo)
<info>  device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
<info>  end _init.
<info>  settings: Loaded settings plugin: SettingsPluginIfupdown (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-settings-plugin-ifupdown.so)
<info>  settings: Loaded settings plugin: NMSKeyfilePlugin (internal)
<info>  (-1492008384) ... get_connections.
<info>  (-1492008384) ... get_connections (managed=false): return empty list.
<info>  get unmanaged devices count: 0
<info>  manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
<info>  manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
<info>  manager: Networking is enabled by state file
<info>  dhcp-init: Using DHCP client 'dhclient'
<info>  Loaded device plugin: NMTeamFactory (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-device-plugin-team.so)
<info>  Loaded device plugin: NMBluezManager (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-device-plugin-bluetooth.so)
<info>  Loaded device plugin: NMWifiFactory (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-device-plugin-wifi.so)
<info>  Loaded device plugin: NMWwanFactory (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-device-plugin-wwan.so)
<info>  Loaded device plugin: NMAtmManager (/usr/lib/aarch64-linux-gnu/NetworkManager/1.12.2/libnm-device-plugin-adsl.so)
<info>  device (lo): carrier: link connected
<info>  manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
<info>  manager: (bridge): new Bridge device (/org/freedesktop/NetworkManager/Devices/2)
<info>  device (bridge): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
<info>  device (bridge): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
<info>  device (bridge): Activation: starting connection 'bridge' (92896f34-0c23-4893-a459-7bf9f941f397)
<info>  wifi-nl80211: (mlan0): using nl80211 for WiFi device control
<info>  device (mlan0): driver supports Access Point (AP) mode
<info>  manager: (mlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/3)
<info>  device (mlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
<info>  device (mlan0): set-hw-addr: set MAC address to [redacted] (scanning)
<info>  manager: NetworkManager state is now CONNECTED_GLOBAL
<info>  device (bridge): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
<info>  device (bridge): Activation: successful, device activated.
<info>  bluez: use BlueZ version 5
<info>  supplicant: wpa_supplicant running
<info>  device (mlan0): supplicant interface state: init -> starting
<info>  bluez: BT device Galaxy Nexus ([redacted]) added (NAP)
<info>  manager: ([redacted]): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/4)
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
<info>  bluez: BT device SM-G800F ([redacted]) added (NAP)
<info>  manager: ([redacted]): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/5)
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  sup-iface[0x58a70df240,mlan0]: supports 5 scan SSIDs
<info>  device (mlan0): supplicant interface state: starting -> ready
<info>  device (mlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
<info>  manager: startup complete
<info>  device (mlan0): set-hw-addr: set MAC address to [redacted] (scanning)
<info>  device (mlan0): supplicant interface state: ready -> disconnected
<info>  device (mlan0): supplicant interface state: disconnected -> inactive
<info>  device (mlan0): set-hw-addr: set MAC address to [redacted] (scanning)
<info>  device (mlan0): supplicant interface state: inactive -> disconnected
<info>  device (mlan0): supplicant interface state: disconnected -> inactive
<info>  device (mlan0): set-hw-addr: set MAC address to [redacted] (scanning)
<info>  device (mlan0): supplicant interface state: inactive -> disconnected
<info>  device (mlan0): supplicant interface state: disconnected -> inactive
<info>  manager: sleep: sleep requested (sleeping: no  enabled: yes)
<info>  device (mlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  device (mlan0): set-hw-addr: reset MAC address to [redacted] (unmanage)
<info>  device ([redacted]): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  manager: sleep: wake requested (sleeping: yes  enabled: yes)
<info>  device (mlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  sup-iface[0x58a70df240,mlan0]: supports 5 scan SSIDs
<info>  device (mlan0): supplicant interface state: starting -> ready
<info>  device (mlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
<info>  manager: sleep: sleep requested (sleeping: no  enabled: yes)
<info>  device (mlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
<info>  manager: sleep: wake requested (sleeping: yes  enabled: yes)
<info>  device (mlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  device ([redacted]): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
<info>  sup-iface[0x58a70df0e0,mlan0]: supports 5 scan SSIDs
<info>  device (mlan0): supplicant interface state: starting -> ready
<info>  device (mlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
<info>  device (mlan0): set-hw-addr: set MAC address to [redacted] (scanning)
<info>  device (mlan0): supplicant interface state: ready -> disconnected
<info>  device (mlan0): supplicant interface state: disconnected -> inactive

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20180901/ce02b8ce/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list