~stgraber/+junk/nm-ofono

« back to all changes in this revision

Viewing changes to debian/patches/whoopsie-daisy-dbus-support.patch

  • Committer: Stéphane Graber
  • Date: 2013-03-15 18:27:57 UTC
  • Revision ID: stgraber@ubuntu.com-20130315182757-7bcjymubsn3lsshs
Import of NM 0.9.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
 
2
Subject: Provide access to some of NM's interfaces to whoopsie.
 
3
 
 
4
Whoopsie is the crash database reporting daemon. It needs access to some of
 
5
the information NM keeps about devices to avoid sending data over the network
 
6
when connected to 3G or other systems that are potentially billable.
 
7
 
 
8
Index: b/src/org.freedesktop.NetworkManager.conf
 
9
===================================================================
 
10
--- a/src/org.freedesktop.NetworkManager.conf
 
11
+++ b/src/org.freedesktop.NetworkManager.conf
 
12
@@ -88,6 +88,24 @@
 
13
                        send_interface="org.freedesktop.NetworkManager"
 
14
                        send_member="wake"/>
 
15
         </policy>
 
16
+        <policy user="whoopsie">
 
17
+                <allow send_destination="org.freedesktop.NetworkManager"/>
 
18
+
 
19
+                <allow send_destination="org.freedesktop.NetworkManager"
 
20
+                       send_interface="org.freedesktop.DBus.Introspectable"/>
 
21
+
 
22
+                <allow send_destination="org.freedesktop.NetworkManager"
 
23
+                       send_interface="org.freedesktop.DBus.Properties"/>
 
24
+
 
25
+                <allow send_destination="org.freedesktop.NetworkManager"
 
26
+                       send_interface="org.freedesktop.NetworkManager"/>
 
27
+
 
28
+                <allow send_destination="org.freedesktop.NetworkManager"
 
29
+                       send_interface="org.freedesktop.NetworkManager.Connection.Active"/>
 
30
+
 
31
+                <allow send_destination="org.freedesktop.NetworkManager"
 
32
+                       send_interface="org.freedesktop.NetworkManager.Device"/>
 
33
+        </policy>
 
34
         <policy context="default">
 
35
                 <deny own="org.freedesktop.NetworkManager"/>
 
36