Additionally, this directive breaks use of ssh keys / keyring:
include <abstractions/private-files-strict>

I replaced it with:
include <abstractions/private-files>
owner @{run}/user/@{uid}/keyring/ssh rw,

And updated the ${HOME}/.ssh line:
owner @{HOME}/.ssh/{config,known_hosts,id_*} r,


A full patch is attached that seems to get things working for me. A few 
apparmor failures remain that I didn't include (and possibly more that would be 
hit if these were allowed):
execute: /usr/bin/lsb_release, /usr/bin/python3.13, /usr/bin/bash
dbus send (all would be covered by include <abstractions/dbus-session>): 
/org/gtk/Settings (org.freedesktop.DBus.Properties), /StatusNotifierWatcher 
(org.freedesktop.DBus.Introspectable), /org/a11y/bus (org.a11y.Bus)
file: /etc/timezone, /etc/lsb-release, /etc/debian_version

** Patch added: "remmina-apparmor.patch"
   
https://bugs.launchpad.net/ubuntu/+source/remmina/+bug/2106675/+attachment/5870946/+files/remmina-apparmor.patch

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

Title:
  apparmor prevents access to saved sessions

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


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

Reply via email to