snap can not start chromium-browser with cgroup v2 and hierarchy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Message from the command line
> $ chromium-browser
> /sys/fs/
As a workaround I ran the script found in https:/
```
#!/usr/bin/env bash
set -euo pipefail
file=/sys/
sudo chown $(whoami):root $file
sudo chmod g+w $file
```
Now the error is:
> $ chromium-browser
> /user.slice/
In boot option I have
> GRUB_CMDLINE_
Running docker with option
> "exec-opts": ["native.
rif. https:/
https:/
Ubuntu 21.10 uname -a
> Linux iltoshibo 5.13.0-22-generic #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> $ grep cgroup /proc/filesystems
> nodev cgroup
> nodev cgroup2
> $ grep ^cgroup /etc/mtab
> cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: snapd 2.53+21.10ubuntu1
ProcVersionSign
Uname: Linux 5.13.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Mon Jan 10 11:59:32 2022
InstallationDate: Installed on 2020-03-22 (659 days ago)
InstallationMedia: Xubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: snapd
UpgradeStatus: Upgraded to impish on 2022-01-02 (7 days ago)
modified.
related also to https:/ /github. com/snapcore/ snapd/pull/ 7825 maybe