I’m trying to launch firefox snap from a shell inside network namespace managed by vopono, and it fails.
$ snap run --debug-log --shell firefox
2022/08/02 16:31:31.619292 cmd_run.go:486: DEBUG: enabled debug logging of early snap startup
2022/08/02 16:31:31.619850 cmd_run.go:1035: DEBUG: executing snap-confine from /snap/core/13425/usr/lib/snapd/snap-confine
2022/08/02 16:31:31.620216 cmd_run.go:438: DEBUG: SELinux not enabled
2022/08/02 16:31:31.620490 tracking.go:46: DEBUG: creating transient scope snap.firefox.firefox
2022/08/02 16:31:31.621077 tracking.go:186: DEBUG: using session bus
2022/08/02 16:31:31.621981 tracking.go:319: DEBUG: create transient scope job: /org/freedesktop/systemd1/job/822
error: cannot find tracking cgroup
When launched directly:
$ firefox -ProfileManager
internal error, please report: running "firefox" failed: cannot find tracking cgroup
The shell (bash) was created with:
vopono exec --dns "1.1.1.1" --provider privateinternetaccess --server jp "bash"
The error seems to originate from ProcessPathInTrackingCgroup. I checked /proc/self/cgroup
:
$ cat /proc/self/cgroup
0::/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake-93dfbf7d91b44295bf8ca397d8bd220f.scope
sudo dmesg | grep DENIED
does not log any lines when launching firefox snap from the network namespace.
Any ideas how I can debug this further to fix it?