[Pkg-utopia-maintainers] Bug#730437: network-manager: fails to start
Lucas Nussbaum
lucas at debian.org
Mon Nov 25 01:57:05 UTC 2013
Package: network-manager
Version: 0.9.8.8-1
Severity: serious
Justification: renders package unusable
Hi,
I'm running a small armel system with systemd and network-manager from
experimental (I would like to use the newer modemmanager in experimental).
Problem 1: network-manager fails to start:
Nov 25 02:36:19 gesse dbus-daemon[564]: dbus[564]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager.service'
Nov 25 02:36:19 gesse dbus[564]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager.service'
Nov 25 02:36:19 gesse dbus-daemon[564]: dbus[564]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
Nov 25 02:36:19 gesse dbus[564]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
Indeed, there's no dbus-org.freedesktop.NetworkManager.service file in my
system. After adding one to /etc/systemd/system, symlinked to
/lib/systemd/system/NetworkManager.service, dbus correctly tries to start
network-manager, which leads to ...
Problem 2: network-manager segfaults on startup
# /usr/sbin/NetworkManager --no-daemon
NetworkManager[1220]: <info> NetworkManager (version 0.9.8.8) is starting...
NetworkManager[1220]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
NetworkManager[1220]: <info> WEXT support is enabled
NetworkManager[1220]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
NetworkManager[1220]: SCPlugin-Ifupdown: init!
NetworkManager[1220]: SCPlugin-Ifupdown: update_system_hostname
NetworkManager[1220]: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
NetworkManager[1220]: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
NetworkManager[1220]: SCPlugin-Ifupdown: addresses count: 1
NetworkManager[1220]: SCPlugin-Ifupdown: adding eth0 to connections
NetworkManager[1220]: SCPlugin-Ifupdown: adding iface eth0 to eni_ifaces
NetworkManager[1220]: SCPlugin-Ifupdown: autoconnect
NetworkManager[1220]: SCPluginIfupdown: management mode: unmanaged
NetworkManager[1220]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:01/0000:01:01.0/usb2/2-2/2-2:1.0/net/wlan0, iface: wlan0)
NetworkManager[1220]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:01/0000:01:01.0/usb2/2-2/2-2:1.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
NetworkManager[1220]: SCPlugin-Ifupdown: devices added (path: /sys/devices/platform/mv643xx_eth_port.0/net/eth0, iface: eth0)
NetworkManager[1220]: SCPluginIfupdown: locking wired connection setting
NetworkManager[1220]: SCPlugin-Ifupdown: devices added (path: /sys/devices/platform/orion-ehci.0/usb1/1-1/1-1:1.4/net/wwan0, iface: wwan0)
NetworkManager[1220]: SCPlugin-Ifupdown: device added (path: /sys/devices/platform/orion-ehci.0/usb1/1-1/1-1:1.4/net/wwan0, iface: wwan0): no ifupdown configuration found.
NetworkManager[1220]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
NetworkManager[1220]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
NetworkManager[1220]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
NetworkManager[1220]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
NetworkManager[1220]: SCPlugin-Ifupdown: end _init.
NetworkManager[1220]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
NetworkManager[1220]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
NetworkManager[1220]: Ifupdown: get unmanaged devices count: 1
NetworkManager[1220]: SCPlugin-Ifupdown: (8218448) ... get_connections.
NetworkManager[1220]: SCPlugin-Ifupdown: (8218448) ... get_connections (managed=false): return empty list.
NetworkManager[1220]: keyfile: parsing SFR ...
NetworkManager[1220]: keyfile: read connection 'SFR'
NetworkManager[1220]: keyfile: parsing vpn ...
NetworkManager[1220]: keyfile: read connection 'vpn'
NetworkManager[1220]: Ifupdown: get unmanaged devices count: 1
NetworkManager[1220]: <info> monitoring kernel firmware directory '/lib/firmware'.
NetworkManager[1220]: <info> monitoring ifupdown state file '/run/network/ifstate'.
(NetworkManager:1220): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Segmentation fault
According to gdb:
Program received signal SIGSEGV, Segmentation fault.
0x000713a4 in nm_connectivity_set_online ()
(gdb) bt
#0 0x000713a4 in nm_connectivity_set_online ()
#1 0x00061b20 in ?? ()
#2 0x00061b20 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
And after installing -dbg:
(NetworkManager:1856): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
nm_connectivity_set_online (self=0x0, online=0) at nm-connectivity.c:178
178 nm-connectivity.c: No such file or directory.
(gdb) bt
#0 nm_connectivity_set_online (self=0x0, online=0) at nm-connectivity.c:178
#1 0x00061b20 in nm_manager_update_state (manager=manager at entry=0x112120) at nm-manager.c:652
#2 0x00064e94 in check_ifstate_file (user_data=user_data at entry=0x112120) at nm-manager.c:4137
#3 0x0006525c in nm_manager_init (manager=0x112120) at nm-manager.c:4968
#4 0xb6a9e034 in g_type_create_instance () from /usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
#5 0xb6a7eb4c in ?? () from /usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
Cannot access memory at address 0x0
#6 0xb6a7eb4c in ?? () from /usr/lib/arm-linux-gnueabi/libgobject-2.0.so.0
Cannot access memory at address 0x0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Just in case, /run/network/ifstate is:
# cat /run/network/ifstate
lo=lo
eth0=eth0
Thanks,
Lucas
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: armel (armv5tel)
Kernel: Linux 3.11-2-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages network-manager depends on:
ii adduser 3.113+nmu3
ii dbus 1.6.18-1
ii isc-dhcp-client 4.2.4-7
ii libc6 2.17-93
ii libdbus-1-3 1.6.18-1
ii libdbus-glib-1-2 0.100.2-1
ii libgcrypt11 1.5.3-2
ii libglib2.0-0 2.36.4-1
ii libgnutls26 2.12.23-8
ii libgudev-1.0-0 204-5
ii libmm-glib0 0.7.991-1
ii libnl-3-200 3.2.21-1
ii libnl-genl-3-200 3.2.21-1
ii libnl-route-3-200 3.2.21-1
ii libnm-glib4 0.9.8.0-5
ii libnm-util2 0.9.8.0-5
ii libpolkit-gobject-1-0 0.105-4
ii libsoup2.4-1 2.44.1-1
ii libsystemd-login0 204-5
ii libuuid1 2.20.1-5.5
ii lsb-base 4.1+Debian12
ii udev 204-5
ii wpasupplicant 1.0-3+b1
Versions of packages network-manager recommends:
pn crda <none>
pn dnsmasq-base <none>
ii iptables 1.4.20-2
ii modemmanager 0.7.991-1
ii policykit-1 0.105-4
ii ppp 2.4.5+git20130610-1
ii systemd 204-5
Versions of packages network-manager suggests:
pn avahi-autoipd <none>
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list