I’ve built a snap of mame using @popey’s version with some minor modifications. I’ve got the denials down to a single entry which claims it will be fixed by connecting screen-inhibit-control
. The crux is, however, I already have that plug connected so somehow either snappy-debug
is wrong to advise it, or the interface is broken.
= AppArmor =
Time: Feb 23 13:05:09
Log: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/ScreenSaver" interface="org.gnome.ScreenSaver" member="SimulateUserActivity" mask="send" name="org.gnome.ScreenSaver" pid=15430 label="snap.mame.mame" peer_pid=5470 peer_label="unconfined"
DBus access
Suggestion:
* try adding 'screen-inhibit-control' to 'plugs'
output of snap interfaces mame
:
Slot Plug
:hardware-observe linux-steam-integration,makemkv,mame,unvanquished
:home audacity,chromium,corebird,discord,get-iplayer,gimp,gitter-desktop,gnome-logs,handbrake-jz,inkscape,irccloud-desktop,linux-steam-integration,makemkv,mame,mattermost-desktop,mkvtoolnix-jz,mumble,newsboat,spotify,telegram-desktop,vlc
:network azure-cli,boa,chromium,cncredalert,corebird,cryptoinfo,cryptowatch,discord,get-iplayer,gitter-desktop,gnome-logs,guessita,handbrake-jz,hdhomerun-config,irccloud-desktop,linux-steam-integration,lxd,mame,mattermost-desktop,mumble,newsboat,spotify,supertuxkart,telegram-desktop,tinc,tvheadend,tvhproxy,vlc
:network-bind cncredalert,django-gunicorn,get-iplayer,gitter-desktop,irccloud-desktop,mame,mattermost-desktop,mkvtoolnix-jz,nginx-hda-bundle,telegram-desktop,tinc,tvheadend,tvhproxy,vlc
:opengl boa,chromium,cncredalert,corebird,discord,gimp,gitter-desktop,irccloud-desktop,linux-steam-integration,makemkv,mame,mattermost-desktop,mumble,spotify,supertuxkart,unvanquished,vlc
:optical-drive makemkv,mame,vlc
:process-control cncredalert,makemkv,mame
:pulseaudio audacity,boa,chromium,cncredalert,corebird,discord,gitter-desktop,irccloud-desktop,linux-steam-integration,mame,mattermost-desktop,mumble,spotify,supertuxkart,telegram-desktop,unvanquished,vlc
:screen-inhibit-control chromium,discord,linux-steam-integration,mame,unvanquished,vlc
:unity7 boa,chromium,corebird,discord,gimp,gitter-desktop,gnome-logs,inkscape,irccloud-desktop,linux-steam-integration,mame,mattermost-desktop,mumble,spotify,telegram-desktop,vlc
- mame:joystick
- mame:mount-observe
As you can see screen-inhibit-control
is correctly connected so this denial should not be happening. The interface must be broken then.
cc/ @jdstrand