Public bug reported:

Use case:
System Settings needs to communicate with the power daemon so it can fetch 
details about the battery, change settings etc.

What happens:
Aug 23 14:02:24 jonas-xps kernel: [12148.626770] audit: type=1107 
audit(1471953744.125:60): pid=3032 uid=102 auid=4294967295 ses=4294967295 
msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/UPower" interface="org.freedesktop.DBus.Properties" 
member="GetAll" mask="send" name=":1.42" pid=16663 
label="snap.ubuntu-system-settings.ubuntu-system-settings" peer_pid=3722 
peer_label="unconfined"
Aug 23 14:02:24 jonas-xps kernel: [12148.626770]  exe="/usr/bin/dbus-daemon" 
sauid=102 hostname=? addr=? terminal=?'
Aug 23 14:02:24 jonas-xps kernel: [12148.627784] audit: type=1107 
audit(1471953744.129:61): pid=3032 uid=102 auid=4294967295 ses=4294967295 
msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" 
member="EnumerateDevices" mask="send" name=":1.42" pid=16663 
label="snap.ubuntu-system-settings.ubuntu-system-settings" peer_pid=3722 
peer_label="unconfined"
Aug 23 14:02:24 jonas-xps kernel: [12148.627784]  exe="/usr/bin/dbus-daemon" 
sauid=102 hostname=? addr=? terminal=?'
Aug 23 14:02:24 jonas-xps kernel: [12148.628141] system-settings[16663]: 
segfault at 8 ip 00007f872fb9c540 sp 00007ffe67d54800 error 4 in 
libbattery-plugin.so[7f872fb99000+5000]

What should happen:
a power-manager interface should allow the above communication

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Use case:
  System Settings needs to communicate with the power daemon so it can fetch 
details about the battery, change settings etc.
  
  What happens:
  Aug 23 14:02:24 jonas-xps kernel: [12148.626770] audit: type=1107 
audit(1471953744.125:60): pid=3032 uid=102 auid=4294967295 ses=4294967295 
msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/UPower" interface="org.freedesktop.DBus.Properties" 
member="GetAll" mask="send" name=":1.42" pid=16663 
label="snap.ubuntu-system-settings.ubuntu-system-settings" peer_pid=3722 
peer_label="unconfined"
  Aug 23 14:02:24 jonas-xps kernel: [12148.626770]  exe="/usr/bin/dbus-daemon" 
sauid=102 hostname=? addr=? terminal=?'
  Aug 23 14:02:24 jonas-xps kernel: [12148.627784] audit: type=1107 
audit(1471953744.129:61): pid=3032 uid=102 auid=4294967295 ses=4294967295 
msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" 
path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" 
member="EnumerateDevices" mask="send" name=":1.42" pid=16663 
label="snap.ubuntu-system-settings.ubuntu-system-settings" peer_pid=3722 
peer_label="unconfined"
  Aug 23 14:02:24 jonas-xps kernel: [12148.627784]  exe="/usr/bin/dbus-daemon" 
sauid=102 hostname=? addr=? terminal=?'
  Aug 23 14:02:24 jonas-xps kernel: [12148.628141] system-settings[16663]: 
segfault at 8 ip 00007f872fb9c540 sp 00007ffe67d54800 error 4 in 
libbattery-plugin.so[7f872fb99000+5000]
  
  What should happen:
- an power-manager interface should allow the above communication
+ a power-manager interface should allow the above communication

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1616045

Title:
  Create interface for the power daemon

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1616045/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to