So I had this same issue on two machines that are running Ubuntu 22.04.4
LTS Desktop with more or less the same software installed.

I run `sudo apt update && sudo apt full-upgrade -y && sudo apt
autoremove -y && sudo apt autoclean && sudo apt clean && sudo snap
refresh` when I haven't been on any machine for a few days. I execute
that command in the terminal app right after I start my desktop session.

After that command firefox does not start. Slack shows a window for a
brief second and then disappears. After a few re-clicks on the program
in the start menu they both start again. While slack does completely
exit a few times after it started, after 3 to 5 times it recovers and
starts acting like it normally does.

Errors I see related to cgroup:
```
systemd[29657]: app-gnome-gnome\x2dkeyring\x2dsecrets-29897.scope: Couldn't 
move process 29897 to requested cgroup 
'/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-gnome\x2dkeyring\x2dsecrets-29897.scope':
 No such process

systemd[29657]: app-gnome-xdg\x2duser\x2ddirs-29906.scope: Couldn't move
process 29906 to requested cgroup
'/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-
xdg\x2duser\x2ddirs-29906.scope': No such process


snap-store_ubuntu-software.desktop[36055]: 
/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-snap\x2dstore_ubuntu\x2dsoftware-36055.scope
 is not a snap cgroup

firefox_firefox.desktop[45624]:
/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-
firefox_firefox-45624.scope is not a snap cgroup

firefox_firefox.desktop[45982]:
/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-
firefox_firefox-45982.scope is not a snap cgroup

slack_slack.desktop[60312]: 
/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-slack_slack-60312.scope
 is not a snap cgroup
```

I have a hunch that something is in a wrong state after `sudo snap
refresh` maybe in combination with the updates installed by `sudo apt
full-upgrade`.

Let me know which kind of logs you like me to share.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951491

Title:
  Can't run snaps: .slice/session-1.scope is not a snap cgroup

To manage notifications about this bug go to:
https://bugs.launchpad.net/x2go/+bug/1951491/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to