Mailinglist Archive: opensuse-bugs (13074 mails)

< Previous Next >
[Bug 469530] New: wpa_supplicant-0.6.4-18.1 denies WLAN connection to non-root users
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 26 Jan 2009 12:25:45 -0700 (MST)
  • Message-id: <bug-469530-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=469530

User holler@xxxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=469530#c468392

Summary: wpa_supplicant-0.6.4-18.1 denies WLAN connection to
non-root users
Classification: openSUSE
Product: openSUSE 11.2
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: holler@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5)
Gecko/2008121300 SUSE/3.0.5-2.3 Firefox/3.0.5

With wpa_supplicant-0.6.4-18.1 a non-root user is not allowed to connect to a
WLAN (at least with NetworkManager, didn't try with ifup)

With latest Factory /etc/dbus-1/system.d/wpa_supplicant.conf reads

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>

<allow send_destination="fi.epitest.hostap.WPASupplicant"
send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy context="default">
<deny own="fi.epitest.hostap.WPASupplicant"/>
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
</busconfig>

This leads to messages in /var/log/Networkmanager (plaese note: _before_
login!):

Jan 26 19:50:00 holler-n2 NetworkManager: <info> starting...
Jan 26 19:50:00 holler-n2 NetworkManager: <info> Trying to start the
modem-manager...
Jan 26 19:50:00 holler-n2 NetworkManager: <WARN> nm_generic_enable_loopback():
error -17 returned from rtnl_addr_add(): Sucess
Jan 26 19:50:00 holler-n2 NetworkManager: <info> Found radio killswitch
/org/freedesktop/Hal/devices/pci_8086_4229_rfkill_4965AGN_wlan
Jan 26 19:50:01 holler-n2 NetworkManager: <info> eth0: driver is 'r8169'.
Jan 26 19:50:01 holler-n2 NetworkManager: <info> Found new Ethernet device
'eth0'.
Jan 26 19:50:01 holler-n2 NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_03_0d_90_6b_10
Jan 26 19:50:01 holler-n2 NetworkManager: <info> wlan0: driver is 'iwl4965'.
Jan 26 19:50:01 holler-n2 NetworkManager: <info> wlan0: driver supports SSID
scans (scan_capa 0x01).
Jan 26 19:50:01 holler-n2 NetworkManager: <info> Found new 802.11 WiFi device
'wlan0'.
Jan 26 19:50:01 holler-n2 NetworkManager: <info> (wlan0): exported as
/org/freedesktop/Hal/devices/net_00_1d_e0_d0_d4_a1
Jan 26 19:50:01 holler-n2 NetworkManager: <info> Trying to start the
supplicant...
Jan 26 19:50:01 holler-n2 NetworkManager: <info> Trying to start the system
settings daemon...
Jan 26 19:50:01 holler-n2 NetworkManager: <info> modem manager appeared
Jan 26 19:50:02 holler-n2 NetworkManager: <info> (wlan0): supplicant manager
state: down -> idle
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): device state change:
1 -> 2
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): bringing up device.
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): preparing device.
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): deactivating device
(reason: 2).
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): carrier now ON
(device state 2)
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): device state change:
2 -> 3
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (wlan0): device state change:
1 -> 2
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (wlan0): bringing up device.
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (wlan0): preparing device.
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (wlan0): deactivating device
(reason: 2).
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): carrier now OFF
(device state 3)
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): device state change:
3 -> 2
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (eth0): deactivating device
(reason: 40).
Jan 26 19:50:05 holler-n2 NetworkManager: <info> (wlan0): device state change:
2 -> 3
Jan 26 19:50:05 holler-n2 NetworkManager: <WARN> iface_state_cb(): could not
get interface state: A security policy in place prevents this sender from
sending this message to this recipient, see message bus configuration file
(rejected message had interface "fi.epitest.hostap.WPASupplicant.Interface"
member "state" error name "(unset)" destination
"fi.epitest.hostap.WPASupplicant").
Jan 26 19:50:07 holler-n2 NetworkManager: <WARN> scan_results_cb(): could not
get scan results: A security policy in place prevents this sender from sending
this message to this recipient, see message bus configuration file (rejected
message had interface "fi.epitest.hostap.WPASupplicant.Interface" member
"scanResults" error name "(unset)" destination
"fi.epitest.hostap.WPASupplicant").

Replacing the deny lines in /etc/dbus-1/system.d/wpa_supplicant.conf to

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd";>
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>

<allow send_destination="fi.epitest.hostap.WPASupplicant"
send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy context="default">
<allow own="fi.epitest.hostap.WPASupplicant"/>
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
</busconfig>

enables WLAN for non-root users again. See now /var/log/Networkmanager:

Jan 26 19:55:51 holler-n2 NetworkManager: <info> starting...
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Trying to start the
modem-manager...
Jan 26 19:55:51 holler-n2 NetworkManager: <WARN> nm_generic_enable_loopback():
error -17 returned from rtnl_addr_add(): Sucess
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Found radio killswitch
/org/freedesktop/Hal/devices/pci_8086_4229_rfkill_4965AGN_wlan
Jan 26 19:55:51 holler-n2 NetworkManager: <info> eth0: driver is 'r8169'.
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Found new Ethernet device
'eth0'.
Jan 26 19:55:51 holler-n2 NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_03_0d_90_6b_10
Jan 26 19:55:51 holler-n2 NetworkManager: <info> wlan0: driver is 'iwl4965'.
Jan 26 19:55:51 holler-n2 NetworkManager: <info> wlan0: driver supports SSID
scans (scan_capa 0x01).
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Found new 802.11 WiFi device
'wlan0'.
Jan 26 19:55:51 holler-n2 NetworkManager: <info> (wlan0): exported as
/org/freedesktop/Hal/devices/net_00_1d_e0_d0_d4_a1
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Trying to start the
supplicant...
Jan 26 19:55:51 holler-n2 NetworkManager: <info> Trying to start the system
settings daemon...
Jan 26 19:55:52 holler-n2 NetworkManager: <info> modem manager appeared
Jan 26 19:55:52 holler-n2 NetworkManager: <info> (wlan0): supplicant manager
state: down -> idle
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): device state change:
1 -> 2
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): bringing up device.
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): preparing device.
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): deactivating device
(reason: 2).
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): carrier now ON
(device state 2)
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (eth0): device state change:
2 -> 3
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (wlan0): device state change:
1 -> 2
Jan 26 19:55:55 holler-n2 NetworkManager: <info> (wlan0): bringing up device.
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (wlan0): preparing device.
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (wlan0): deactivating device
(reason: 2).
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (eth0): carrier now OFF
(device state 3)
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (eth0): device state change:
3 -> 2
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (eth0): deactivating device
(reason: 40).
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (wlan0): device state change:
2 -> 3
Jan 26 19:55:56 holler-n2 NetworkManager: <info> (wlan0): supplicant interface
state: starting -> ready

Changelog from wpa_supplicant-0.6.4-18.1:

* Do Jan 22 2009 hschaa@xxxxxxx
- Add fix_dbus_config.patch (bnc#468392)



Reproducible: Always

Steps to Reproduce:
1.
2.
3.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >