You have been subscribed to a public bug:
After upgrading to 25.04 (beta), my saved connections / target computers
in Remmina were gone. Where previously I had several saved connection
entries, there were none.
I modified /etc/apparmor.d/remmina to run with flags=(complain), re-
launched, and all my saved connections were back.
Subsequently running aa-logprof suggested the following additions:
include <abstractions/bash>
include <abstractions/dbus-session>
/etc/debian_version r,
/etc/lsb-release r,
/usr/bin/dash ix,
/usr/bin/lsb_release mrix,
/usr/bin/python3.13 mrix,
@{etc_ro}/fstab r,
owner @{HOME}/.remmina/ r,
owner @{HOME}/.remmina/* r,
(I replaced /home/*/ with ${HOME}.)
It seems likely it's possible to avoid the dbus-session include (I see
dbus-session-strict was already present), but there were many manual
rules it was requesting without that, and I don't know enough about
remmina, apparmor, or dbus to offer useful input there.
It seems quite possible that only the @{HOME}/.remmina/(*) rules are
needed to fix this, but the numerous complaints about accesses to
DBus.Properties /org/freedesktop/secrets/collection/login/... paths
seems like this rule [ dbus (send) bus=session
path="/org/freedesktop/secrets/collection/login"
interface="org.freedesktop.DBus.Properties" member=GetAll
peer=(label=unconfined), ] might not be working as expected, and I'm
suspicious they're related to loading these saved connections.
Please give us some details about the systems you are using:
* Client (OS name and version): Ubuntu 25.04 Plucky Puffin (development
branch), amd64
* Remmina version (remmina --version): org.remmina.Remmina - 1.4.39 (git n/a)
(dpkg: 1.4.39+dfsg-1)
* Desktop environment (GNOME, Unity, KDE, ..): Gnome
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: patch
--
apparmor prevents access to saved sessions
https://bugs.launchpad.net/bugs/2106675
You received this bug notification because you are a member of Ubuntu Touch
seeded packages, which is subscribed to apparmor in Ubuntu.
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp