[Bug 1951491] Re: Can't run snaps: .slice/session-1.scope is not a snap cgroup
Simon Andrews
1951491 at bugs.launchpad.net
Thu Mar 30 15:05:06 UTC 2023
Another affected user. Here using VNC through Apache Guacamole with
XFCE4 as a desktop manager. Similar errors to others:
$ firefox
2023/03/30 14:56:04.261227 cmd_run.go:1055: WARNING: cannot start document portal: Can't mount path /home/student/.cache/doc
/user.slice/user-1000.slice/session-1.scope is not a snap cgroup
The DBUS_SESSION_ADDRESS is set:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-
XNw4LGQaye,guid=488bab5d48a052fe381e2fa76425a2f9
..but the path it refers to doesn't exist.
If I try to check the systemd --user status I get:
$ systemd --user
Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
..so the fixes involving manually changing the DBUS address won't work.
All other graphical apps work, it's just the confined snap apps which
don't.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1951491
Title:
Can't run snaps: .slice/session-1.scope is not a snap cgroup
Status in X2Go:
New
Status in Xpra Terminal Server:
New
Status in snapd package in Ubuntu:
Confirmed
Status in systemd package in Ubuntu:
Incomplete
Status in x2goserver package in Ubuntu:
Confirmed
Status in snapd package in Debian:
New
Status in snapd package in Fedora:
New
Bug description:
I just upgraded from hirsute to impish using do-release-upgrade. On
the upgraded system, I can't run either firefox or chromium (both of
which worked fine under hirsute). Both fail with:
/user.slice/user-NNN.slice/session-1.scope is not a snap cgroup where
NNN is my uid
With firefox, I was able to fix the problem with:
snap remove --purge firefox
apt purge firefox
apt install firefox
Now firefox works. But I tried the same thing substituting chromium-
browser for firefox, and it didn't help: chromium fails with the same
error message.
I guess there must be something left over from the hirsute version of
snapd that isn't getting noticed or cleared by the impish version?
Someone suggested this might be related to bug 1850667, but that bug
is marked fixed as of a couple months ago, and I just did this upgrade
today. Also, it doesn't mention the error message I'm seeing.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: snapd 2.53+21.10ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18
Uname: Linux 5.13.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Nov 18 18:12:45 2021
InstallationDate: Installed on 2020-04-29 (568 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: snapd
UpgradeStatus: Upgraded to impish on 2021-11-18 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/x2go/+bug/1951491/+subscriptions
More information about the foundations-bugs
mailing list