Bitwarden snap and apparmor spamming syslog

When running the Bitwarden desktop app (which comes as a snap nowadays), the syslog will be spammed with apparmor DENIED messages.

dbus-daemon[16626]: apparmor=“DENIED” operation=“dbus_method_call” bus=“session” path="/org/freedesktop/secrets" interface=“org.freedesktop.Secret.Service” member=“OpenSession” mask=“send” name=":1.17" pid=19933 label=“snap.bitwarden.bitwarden” peer_pid=16634 peer_label=“unconfined”

bitwarden[19933]: Remote error from secret service: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.125" (uid=1001107 pid=19933 comm="/snap/bitwarden/79/bitwarden --no-sandbox --enable" label=“snap.bitwarden.bitwarden (enforce)”) interface=“org.freedesktop.Secret.Service” member=“OpenSession” error name="(unset)" requested_reply=“0” destination=":1.17" (uid=1001107 pid=16634 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label=“unconfined”)

dbus-daemon[16626]: apparmor=“DENIED” operation=“dbus_method_call” bus=“session” path="/org/freedesktop/secrets" interface=“org.freedesktop.Secret.Service” member=“OpenSession” mask=“send” name=":1.17" pid=19933 label=“snap.bitwarden.bitwarden” peer_pid=16634 peer_label=“unconfined”

bitwarden[19933]: Remote error from secret service: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type=“method_call”, sender=":1.125" (uid=1001107 pid=19933 comm="/snap/bitwarden/79/bitwarden --no-sandbox --enable" label=“snap.bitwarden.bitwarden (enforce)”) interface=“org.freedesktop.Secret.Service” member=“OpenSession” error name="(unset)" requested_reply=“0” destination=":1.17" (uid=1001107 pid=16634 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label=“unconfined”)

This will repeat after appr. 10 secs until I stop the app. I’m not sure, where exactly to post this. Any suggestions for diagnosing further?

have you tried asking the bitwarden support ?

To be honest: I didn’t find that place. Thanks, will do immediately.

1 Like

A partial solution, removing the repeating messages while the desktop app is open, was to grant the Bitwarden App permissions to “Read, add, change or remove saved passwords” in SnapStore.

See here also: https://community.bitwarden.com/t/bitwarden-snap-and-apparmor-spamming-syslog/46846/4?u=user-0209

Leaves some messages when launching and ending the app to be looked at.