Access errors to AppArmor policy and UPower

Reply
1 person liked this

Access errors to AppArmor policy and UPower

vinyloup
Newbie

Plan

Free/Premium

Country

France

Device

Dell PC

Operating System

(iOS 10, Android Oreo, Windows 10,etc.)

 Linux Xubuntu 18.04.1 LTS 

 

My Question or Issue

Hello Spotify penguins :-)

I installed Spotify version "1.0.94.262.g3d5c231c-9" via snap without problem.

Spotify is working properly but among the error messages of the application, three errors come back tirelessly when I run it from the command line and I can not solve:
[1223 / 121936.390236: ERROR: object_proxy.cc (616)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path = / org / freedesktop / UPower: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy avoids this sender from sending this message to this recipient; type = "method_call", sender = ": 1.68" (uid = 1000 pid = 1720 comm = "/ snap / spotify / 28 / usr / share / spotify / spotify" label = "snap.spotify.spotify (enforce)") interface = "org.freedesktop.DBus.Properties" member = "Get" error name = "(unset)" requested_reply = "0" destination = "org.freedesktop.UPower" (uid = 0 pid = 1325 comm = "/ usr / lib / upower / upowerd "label =" unconfined ")
[1223 / 121936.390499: ERROR: object_proxy.cc (616)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path = / org / freedesktop / UPower: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type = "method_call", sender = ": 1.68" (uid = 1000 pid = 1720 comm = "/ snap / spotify / 28 / usr / share / spotify / spotify" label = "snap.spotify.spotify (enforce)") interface = "org.freedesktop.UPower" member = "GetDisplayDevice" error name = "(unset)" requested_reply = "0" destination = "org.freedesktop.UPower" (uid = 0 pid = 1325 comm = "/ usr / lib / upower / upowerd "label =" unconfined ")
[1223 / 121936.390696: ERROR: object_proxy.cc (616)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path = / org / freedesktop / UPower: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type = "method_call", sender = ": 1.68" (uid = 1000 pid = 1720 comm = "/ snap / spotify / 28 / usr / share / spotify / spotify" label = "snap.spotify.spotify (enforce)") interface = "org.freedesktop.UPower" member = "EnumerateDevices" error name = "(unset)" requested_reply = "0" destination = "org.freedesktop.UPower" (uid = 0 pid = 1325 comm = "/ usr / lib / upower / upowerd "label =" unconfined ")

Nothing very dramatic but it seems to me that this snap version lacks the support of access rights to UPower. can you help me solve this problem? do you see the same problem?

Thank you in advance for your assistance. Have a good holiday :-)

 

SUGGESTED POSTS