~ubuntu-branches/ubuntu/lucid/wpasupplicant/lucid-security

« back to all changes in this revision

Viewing changes to debian/patches/02_dbus_group_policy.patch

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-12-02 20:52:16 UTC
  • mfrom: (2.1.30 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081202205216-72fqozu84sdt89a8
Tags: 0.6.4-3
Bugfix: "Missing -d in testing for a directory in init script". 
Thanks to Braun Gábor <braung@renyi.hu> for reporting and the patch.
(Closes: #506328)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Michael Biebl <biebl@debian.org>
 
2
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;bug=412179
 
3
Description: Debian does not use pam_console but uses group membership
 
4
 to control access to D-Bus. Activating both options in the conf file
 
5
 makes it work on Debian and Ubuntu.
 
6
 
 
7
--- a/wpa_supplicant/dbus-wpa_supplicant.conf
 
8
+++ b/wpa_supplicant/dbus-wpa_supplicant.conf
 
9
@@ -8,6 +8,10 @@
 
10
                 <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
 
11
                 <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
 
12
         </policy>
 
13
+        <policy group="netdev">
 
14
+                <allow send_destination="fi.epitest.hostap.WPASupplicant"/>
 
15
+                <allow send_interface="fi.epitest.hostap.WPASupplicant"/>
 
16
+        </policy>
 
17
         <policy context="default">
 
18
                 <deny own="fi.epitest.hostap.WPASupplicant"/>
 
19
                 <deny send_destination="fi.epitest.hostap.WPASupplicant"/>