[Pkg-utopia-maintainers] Bug#569215: please test this patch (network-manager: ignores setting of unmanaged mode)
Thomas Pircher
thomas at tty1.net
Thu Dec 2 22:37:28 UTC 2010
I tried the patch using network-manager_0.8.1-4.debian.tar.gz network-
manager_0.8.1.orig.tar.gz on testing/squeeze, and it works for me.
The patch applied with an offset of -2 lines on both hunks in system-
settings/plugins/ifupdown/plugin.c. Then I compiled the package with "dpkg-
buildpackage -b".
I have installed the locally built packages, NetworkManager was started as a
daemon and my wlan0 connection remained intact.
I have attached the relevant bit of /var/log/daemon.log.
To make the counter-test I have re-installed network-manager from
packages.debian.org and the connection dropped immediately after the
installation of the package.
Thanks for looking into this.
Thomas
-------------- next part --------------
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> NetworkManager (version 0.8.1) is starting...
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> modem-manager is now available
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: init!
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: update_system_hostname
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: addresses count: 1
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: No dns-nameserver configured in /etc/network/interfaces
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: adding eth0 to iface_connections
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: adding eth0 to well_known_interfaces
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPluginIfupdown: guessed connection type (wlan0) = 802-11-wireless
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:wlan0, type:802-11-wireless, id:Ifupdown (wlan0), uuid: 5391eba4-6426-faca-338e-5828034ff9d1
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: update wireless settings (wlan0).
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: setting wpa ssid = 6
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: update wireless security settings (wlan0).
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: setting wpa security key: psk=<omitted>
Dec 2 22:25:58 grummel NetworkManager[24805]: nm-ifupdown-connection.c.119 - invalid connection read from /etc/network/interfaces: (2) key-mgmt
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: adding wlan0 to well_known_interfaces
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: autoconnect
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPluginIfupdown: management mode: unmanaged
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/eth0, iface: eth0)
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPluginIfupdown: locking wired connection setting
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wlan0, iface: wlan0)
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/sit0, iface: sit0)
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/sit0, iface: sit0): no ifupdown configuration found.
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: end _init.
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
Dec 2 22:25:58 grummel NetworkManager[24805]: Ifupdown: get unmanaged devices count: 2
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: (9402816) ... get_connections.
Dec 2 22:25:58 grummel NetworkManager[24805]: SCPlugin-Ifupdown: (9402816) ... get_connections (managed=false): return empty list.
Dec 2 22:25:58 grummel NetworkManager[24805]: Ifupdown: get unmanaged devices count: 2
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> found WiFi radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/ieee80211/phy0/rfkill0) (driver <unknown>)
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> WiFi enabled by radio killswitch; enabled by state file
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> WWAN enabled by radio killswitch; enabled by state file
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> WiMAX enabled by radio killswitch; enabled by state file
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> Networking is enabled by state file
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (eth0): carrier is OFF
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (wlan0): new 802.11 WiFi device (driver: 'rt73usb' ifindex: 4)
Dec 2 22:25:58 grummel NetworkManager[24805]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Dec 2 22:25:58 grummel NetworkManager[24805]: <warn> could not get modem list: Rejected send message, 1 matched rules; type="method_call", sender=":1.48" (uid=0 pid=24805 comm="/usr/sbin/NetworkManager) interface="org.freedesktop.ModemManager" member="EnumerateDevices" error name="(unset)" requested_reply=0 destination="org.freedesktop.ModemManager" (uid=0 pid=23734 comm="/usr/sbin/modem-manager))
Dec 2 22:25:58 grummel NetworkManager[24805]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
More information about the Pkg-utopia-maintainers
mailing list