#### SRU validation of snapd 2.78+ubuntu26.10 from stonking-proposed
####
I reproduced the issue with snapd 2.77.1 and demonstrated that it is
resolved with snapd 2.78 using this script:
https://gist.github.com/olivercalder/3a1b7d4320c2d0bccf597bf43249943a
The script configures a lxd VM with the desired snapd version, then
installs the slack snap with revision 254 and runs it, collecting
various logs while the user manually checks whether the appindicator
icon appears.
## Reproducing issue with 2.77.1+ubuntu22.04.1
snapd:
Installed: 2.77.1+ubuntu22.04.1
Candidate: 2.77.1+ubuntu22.04.1
Version table:
*** 2.77.1+ubuntu22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.76.3+ubuntu22.04.1 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
2.55.3+22.04 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
snap 2.77.1+ubuntu22.04.1
snapd 2.77.1+ubuntu22.04.1
series 16
ubuntu 22.04
kernel 5.15.0-202-generic
architecture amd64
The journalctl logs had the following relevant denials:
Nov 04 22:43:29 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="GetAll" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:31 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:31 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:32 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:32 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:33 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
Nov 04 22:43:33 jammy-2771-254 dbus-daemon[847]: apparmor="DENIED"
operation="dbus_method_call" bus="session"
path="/org/chromium/StatusNotifierItem/1"
interface="org.freedesktop.DBus.Properties" member="Get" name=":1.27"
mask="receive" pid=1620 label="snap.slack.slack" peer_pid=953
peer_label="unconfined"
The appindicator failed to appear when slack was launched.
## Testing snapd 2.78+ubuntu22.04
snapd:
Installed: 2.78+ubuntu22.04
Candidate: 2.78+ubuntu22.04
Version table:
*** 2.78+ubuntu22.04 100
100 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
2.77.1+ubuntu22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
2.76.3+ubuntu22.04.1 500
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
2.55.3+22.04 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
snap 2.78+ubuntu22.04
snapd 2.78+ubuntu22.04
series 16
ubuntu 22.04
kernel 5.15.0-202-generic
architecture amd64
The journalctl logs had no relevant denials.
The appindicator successfully appeared when slack was launched.
## Conclusion
snapd 2.78+ubuntu22.04 successfully fixes bug 2161950, so verification
is complete for jammy.
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161950
Title:
unity7 apparmor template missing dbus path for Chromium/Electron
StatusNotifierItem — breaks slack (and other Electron snap) tray icons
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2161950/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs