https://bugs.kde.org/show_bug.cgi?id=465307
Bug ID: 465307 Summary: Snap AppArmor profile prohibits menu Classification: Applications Product: krita Version: 5.1.1 Platform: Ubuntu OS: Linux Status: REPORTED Severity: grave Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: stephematic...@gmail.com Target Milestone: --- SUMMARY: Menubar does not display. STEPS TO REPRODUCE: 1. Open terminal 2. Install via snap (e.g. `snap install krita`) 3. Run krita (`krita`) OBSERVED RESULT: No menubar, terminal output: < start of terminal output > Qt: Session management error: Could not open network socket /usr/share/libdrm/amdgpu.ids: No such file or directory Qt: Session management error: Could not open network socket /usr/share/libdrm/amdgpu.ids: No such file or directory Qt: Session management error: Could not open network socket /usr/share/libdrm/amdgpu.ids: No such file or directory /usr/share/libdrm/amdgpu.ids: No such file or directory Qt: Session management error: Could not open network socket propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.486\" (uid=1000 pid=27012 comm=\"/snap/krita/77/usr/bin/krita \" label=\"snap.krita.krita (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1096 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.486\" (uid=1000 pid=27012 comm=\"/snap/krita/77/usr/bin/krita \" label=\"snap.krita.krita (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1096 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" "Object path cannot be empty" QObject::startTimer: Timers cannot have negative intervals Failed to register window menu, reason: org.freedesktop.DBus.Error.AccessDenied ("An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.188" (uid=1000 pid=27012 comm="/snap/krita/77/usr/bin/krita " label="snap.krita.krita (enforce)") interface="com.canonical.AppMenu.Registrar" member="RegisterWindow" error name="(unset)" requested_reply="0" destination="com.canonical.AppMenu.Registrar" (uid=1000 pid=19505 comm="/usr/libexec/vala-panel/appmenu-registrar " label="unconfined")") Failed to unregister window menu, reason: org.freedesktop.DBus.Error.AccessDenied ("An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.188" (uid=1000 pid=27012 comm="/snap/krita/77/usr/bin/krita " label="snap.krita.krita (enforce)") interface="com.canonical.AppMenu.Registrar" member="UnregisterWindow" error name="(unset)" requested_reply="0" destination="com.canonical.AppMenu.Registrar" (uid=1000 pid=19505 comm="/usr/libexec/vala-panel/appmenu-registrar " label="unconfined")") Failed to register window menu, reason: org.freedesktop.DBus.Error.AccessDenied ("An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.188" (uid=1000 pid=27012 comm="/snap/krita/77/usr/bin/krita " label="snap.krita.krita (enforce)") interface="com.canonical.AppMenu.Registrar" member="RegisterWindow" error name="(unset)" requested_reply="0" destination="com.canonical.AppMenu.Registrar" (uid=1000 pid=19505 comm="/usr/libexec/vala-panel/appmenu-registrar " label="unconfined")") Failed to unregister window menu, reason: org.freedesktop.DBus.Error.AccessDenied ("An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.188" (uid=1000 pid=27012 comm="/snap/krita/77/usr/bin/krita " label="snap.krita.krita (enforce)") interface="com.canonical.AppMenu.Registrar" member="UnregisterWindow" error name="(unset)" requested_reply="0" destination="com.canonical.AppMenu.Registrar" (uid=1000 pid=19505 comm="/usr/libexec/vala-panel/appmenu-registrar " label="unconfined")") < end of terminal output > EXPECTED RESULT Menubar, no errors in terminal. SOFTWARE/OS VERSIONS Linux, ubuntu MATE 22.04, OEM kernel 6.1.0 (uname -r: 6.1.0-1004-oem) Snap version: 2.58 ADDITIONAL INFORMATION AppArmor profile is loaded. apparmor_status apparmor module is loaded. 55 profiles are loaded. 47 profiles are in enforce mode. ... snap-update-ns.krita ... snap.krita.hook.configure snap.krita.krita ... 8 profiles are in complain mode. ... 0 profiles are in kill mode. 0 profiles are in unconfined mode. 25 processes have profiles defined. 25 processes are in enforce mode. ... /snap/krita/77/usr/bin/krita (28094) snap.krita.krita ... 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. 0 processes are in mixed mode. 0 processes are in kill mode. -- You are receiving this mail because: You are watching all bug changes.