debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #01169
[Bug 2106675] Re: apparmor prevents access to saved sessions
The attachment "remmina-apparmor.patch" seems to be a patch. If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to remmina in Ubuntu.
https://bugs.launchpad.net/bugs/2106675
Title:
apparmor prevents access to saved sessions
Status in remmina package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/remmina/+bug/2106675/+subscriptions