I've been struggling with this for a few days.
- Ubuntu 18.04.4 LTS
- appamor 2.12-4ubuntu5.1
My situation is similar with the above link, in that when ever I try to open a file in kdenlive nothing happends. The terminal shows me
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.AccessDenied" "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.123\" (uid=1001 pid=4008 comm=\"kdenlive \" label=\"snap.kdenlive.kdenlive (enforce)\") interface=\"org.freedesktop.DBus.Introspectable\" member=\"Introspect\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.UDisks2\" (uid=0 pid=1156 comm=\"/usr/lib/udisks2/udisksd \" label=\"unconfined\")"
When I run
sudo aa-status I can see a record for
snap.kdenlive.kdenlive in Enforce mode
So I tried to
sudo aa-complain snap.kdenlive.kdenlive . and it returns
Can't find snap.kdenlive.kdenlive in the system path list. If the name of the application is correct, please run 'which snap.kdenlive.kdenlive' as a user with correct PATH environment set up in order to find the fully-qualified path and use the full path as parameter.
Next I try to verify if the profile exist in the folder . Looked in
etc/apparmor.d/ folder and cannot find the profile file. There are a few other profiles which is listed in the aa-status, but cannot find in the folder. Those profiles have the same issue to complain/enforce .
When trying to complain/enforce the few profiles that DOES EXIST in
etc/apparmor.d it shows correctly
Setting <profile> to complain mode. This leads me to believe the issue is with the appamor profiles .
Any help appreciated.