-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incus images based on Ubuntu fail to start #48356
Comments
Ah, I found some logs in /var/log/incus/testub: Excerpt from
Full log here: https://gist.github.com/sbromberger/b05b018f3df1192a0a6bada49d8be1e8 |
I found these logs in
|
As mentioned in the PR, does this happen with the unified cgroup mode i.e. a cgroup2-only setup? The latest systemd release actually deprecated cgroup v1 support, and it will be removed in a future systemd release:
|
Confirm this happens to other distros. I tested Debian and NixOS, both fail to start with the same operation not permitted / failed to mount API FS error. I tested Incus on a NixOS host and there systemd distros launch fine. Not sure why this is an issue on Void alone. Anyway, edited rc.conf and set "CGROUP_MODE=unified" and rebooted. Debian and NixOS start now. Not sure what's the point of keeping cgroup in hybrid by default in Void, if any other things depend on that. Well, I'm happy I can use Incus with this workaround. I wanted to be able to run stuff on other distros in case there's no package in Void. |
@BikyAlex I am not entirely sure how to escalate the "let's move CGROUP_MODE to unified by default" pitch, but I definitely don't think anything really depends on the hybrid cgroups anymore. Except for perhaps older device kernels like rpi kernels? |
rpi kernels are on 6.1, not sure what the kconfig sets wrt cgroups though |
void-linux/void-runit#103 would resolve this issue IMO |
Is this a new report?
Yes
System Info
Void 6.6.11_1 x86_64 AuthenticAMD uptodate rFF
Package(s) Affected
incus-0.4.0_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Migrated from a home-built version of incus to the new package (yay!) - but while void images start up with no problem, ubuntu ones (including new images) fail to start. I expected the ubuntu images to start up normally.
Actual behaviour
Ubuntu images (based on
lunar
; possibly others) fail to start. There is no diagnostic information printed with-v
.--console
produces the following error:--debug
produces the following output: https://gist.github.com/sbromberger/e6adcff70ab7e6fd0410055cfde09e69Steps to reproduce
incus create images:ubuntu/lunar testub
incus start testub
incus ls testub
STOPPED
The text was updated successfully, but these errors were encountered: