Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)



On Tue, 2016-03-08 at 15:20 -0800, Ali Nematollahi wrote:
Hi guys

Hi,


I installed the development version of NM 1.1.90 and I was trying to
add a connection but NM crapped out with the error:
NetworkManager:ERROR:nm-exported-
object.c:293:nm_exported_object_class_add_interface: assertion
failed: (object_property != NULL)


Any ideas why?



root beaglebone:/etc/NetworkManager/system-connections#
NetworkManager --debug &
[2] 2751
root beaglebone:/etc/NetworkManager/system-connections#
NetworkManager: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version
information available (required by NetworkManager)
NetworkManager-Message: <info>  No config file found or given; using
/etc/NetworkManager/NetworkManager.conf


(NetworkManager:2751): NetworkManager-WARNING **: <warn>  glib-
version: cannot handle SIGUSR1 and SIGUSR2 signals. Consider
upgrading glib to 2.36.0 or newer

Just to confirm, which glib version are you using? (This warning by
itself is not critical).


NetworkManager[2751]: <info>  NetworkManager (version 1.1.90) is
starting...
NetworkManager[2751]: <info>  Read config:
/etc/NetworkManager/NetworkManager.conf
NetworkManager[2751]: <info>  monitoring kernel firmware directory
'/lib/firmware'.
NetworkManager[2751]: <info>  dns-mgr[0x1f4c20]: set resolv-conf-
mode: default
NetworkManager[2751]: <info>  dns-mgr[0x1f4c20]: using resolv.conf
manager 'none'
NetworkManager[2751]: <info>  init!
NetworkManager[2751]: <info>        interface-parser: parsing file
/etc/network/interfaces
NetworkManager[2751]: <info>        interface-parser: finished
parsing file /etc/network/interfaces
NetworkManager[2751]: <info>  guessed connection type (eth0) = 802-3-
ethernet
NetworkManager[2751]: <info>
 update_connection_setting_from_if_block: name:eth0, type:802-3-
ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-
687ed5bae28e
NetworkManager[2751]: <info>  adding eth0 to connections
NetworkManager[2751]: <info>  adding iface eth0 to eni_ifaces
NetworkManager[2751]: <info>  guessed connection type (usb0) = 802-3-
ethernet
NetworkManager[2751]: <info>
 update_connection_setting_from_if_block: name:usb0, type:802-3-
ethernet, id:Ifupdown (usb0), uuid: 3232978a-bef5-2ef2-3aa8-
fdd650bb306d
NetworkManager[2751]: <info>  addresses count: 1
NetworkManager[2751]: <info>  No dns-nameserver configured in
/etc/network/interfaces
NetworkManager[2751]: <info>  adding usb0 to connections
NetworkManager[2751]: <info>  adding iface usb0 to eni_ifaces
NetworkManager[2751]: <info>  autoconnect
NetworkManager[2751]: <info>  management mode: unmanaged
NetworkManager[2751]: <info>  devices added (path:
/sys/devices/ocp.2/481cc000.d_can/net/can0, iface: can0)
NetworkManager[2751]: <info>  device added (path:
/sys/devices/ocp.2/481cc000.d_can/net/can0, iface: can0): no ifupdown
configuration found.
NetworkManager[2751]: <info>  devices added (path:
/sys/devices/ocp.2/481d0000.d_can/net/can1, iface: can1)
NetworkManager[2751]: <info>  device added (path:
/sys/devices/ocp.2/481d0000.d_can/net/can1, iface: can1): no ifupdown
configuration found.
NetworkManager[2751]: <info>  devices added (path:
/sys/devices/ocp.2/4a100000.ethernet/net/eth0, iface: eth0)
NetworkManager[2751]: <info>  locking wired connection setting
NetworkManager[2751]: <info>  devices added (path:
/sys/devices/virtual/net/lo, iface: lo)
NetworkManager[2751]: <info>  device added (path:
/sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration
found.
NetworkManager[2751]: <info>  end _init.
NetworkManager[2751]: <info>  Loaded settings plugin ifupdown: (C)
2008 Canonical Ltd.  To report bugs please use the NetworkManager
mailing list. (/usr/lib/NetworkManager/libnm-settings-plugin-
ifupdown.so)
NetworkManager[2751]: <info>  Loaded settings plugin iBFT: (c) 2014
Red Hat, Inc.  To report bugs please use the NetworkManager mailing
list. (/usr/lib/NetworkManager/libnm-settings-plugin-ibft.so)
NetworkManager[2751]: <info>  Loaded settings plugin keyfile: (c)
2007 - 2015 Red Hat, Inc.  To report bugs please use the
NetworkManager mailing list.
NetworkManager[2751]: <info>  (2088960) ... get_connections.
NetworkManager[2751]: <info>  (2088960) ... get_connections
(managed=false): return empty list.
NetworkManager[2751]: <info>  get unmanaged devices count: 1
NetworkManager[2751]: <info>  hostname: couldn't get property from
hostnamed
NetworkManager[2751]: <info>  WiFi enabled by radio killswitch;
enabled by state file
NetworkManager[2751]: <info>  WWAN enabled by radio killswitch;
enabled by state file
NetworkManager[2751]: <info>  Networking is enabled by state file
NetworkManager[2751]: <info>  Loaded device plugin: NMVxlanFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMVlanFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMVethFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMTunFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMMacvlanFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMIPTunnelFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin:
NMInfinibandFactory (internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMEthernetFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMBridgeFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMBondFactory
(internal)
NetworkManager[2751]: <info>  Loaded device plugin: NMWifiFactory
(/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
NetworkManager[2751]: <info>  Loaded device plugin: NMBluezManager
(/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
NetworkManager[2751]: <info>  Loaded device plugin: NMWwanFactory
(/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
NetworkManager[2751]: <info>  Loaded device plugin: NMAtmManager
(/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
NetworkManager[2751]: <warn>  platform-linux: kernel support for
IFLA_INET6_ADDR_GEN_MODE failed to detect; assume no support

And which kernel? What gives:

  grep -R IFLA_INET6_ADDR_GEN_MODE /usr/include/

Without this, the IPv6 handling is a bit limited, but should still
mostly work.



NetworkManager[2751]: <info>  (can0): new Generic device
(/org/freedesktop/NetworkManager/Devices/0)
NetworkManager[2751]: <info>  (can1): new Generic device
(/org/freedesktop/NetworkManager/Devices/1)
NetworkManager[2751]: <info>  (eth0): link connected
NetworkManager[2751]: <info>  (eth0): new Ethernet device
(/org/freedesktop/NetworkManager/Devices/2)
NetworkManager[2751]: <info>  (lo): link connected
NetworkManager[2751]: <info>  (lo): new Generic device
(/org/freedesktop/NetworkManager/Devices/3)
NetworkManager[2751]: <info>  startup complete
NetworkManager[2751]: <info>  ModemManager available in the bus
NetworkManager[2751]: <info>  (ttyUSB2): new Broadband device
(/org/freedesktop/NetworkManager/Devices/4)
NetworkManager[2751]: <info>  (ttyUSB2): device state change:
unmanaged -> unavailable (reason 'managed') [10 20 2]
NetworkManager[2751]: <info>  (ttyUSB2): modem state 'connected'
NetworkManager[2751]: <info>  (ttyUSB2): device state change:
unavailable -> disconnected (reason 'none') [20 30 0]

root beaglebone:/etc/NetworkManager/system-connections#
root beaglebone:/etc/NetworkManager/system-connections#
root beaglebone:/etc/NetworkManager/system-connections#
root beaglebone:/etc/NetworkManager/system-connections# nmcli con add
type gsm con-name ali ifname ttyUSB2 apn m2minternet.apn

root beaglebone:/etc/NetworkManager/system-connections#
NetworkManager[2751]: <info>  keyfile: add connection
/etc/NetworkManager/system-connections/ali (d14ba871-2179-4e8e-82bc-
bb053c9c6ee9,"ali")
NetworkManager[2751]: <info>  op="connection-add" uuid="d14ba871-
2179-4e8e-82bc-bb053c9c6ee9" name="ali" pid=2760 uid=0
result="success"
NetworkManager[2751]: <info>  Auto-activating connection 'ali'.
**
NetworkManager:ERROR:nm-exported-
object.c:293:nm_exported_object_class_add_interface: assertion
failed: (object_property != NULL)


That is strange. Can run NM in a debugger, like

  # gdb /usr/sbin/NetworkManager
  > run --debug --g-fatal-warnings

and show the backtrace.




Btw, if you happen to recompile NM, please favor 1.2-beta2 (1.1.91).



Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]