-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
rawhide, rootless: podman is defaulting to runc (and failing) #4463
Comments
I think this is an unanticipated consequence of our reverting the Fedora-specific CGroups v2 patches for the 1.6.3 stable release for RHEL. |
But root works?
|
Hm. @vrothberg Could this be config file merging getting us? |
I'm sort of suspecting that the default compiled-in configuration is overriding the default libpod.conf setting? Somehow? |
Rootless is not looking at the system-root config at /etc/containers/libpod.conf and the hard-coded default config always points to What we could do is to make the runtime of the hard-coded default config use |
I think we should read the system wide config and then read the local config. That way we would see the default as crun. |
We decided against doing that in the design doc to have root be root and rootless be rootless. If a user wants specific setting, they can copy and edit the libpod.conf.
Only if there is an /etc/containers/libpod.conf. If not, we run into very same problem. That's why I think we should default to |
@rhatdan @edsantiago PTAL at #4470 |
When running on a node with Cgroups v2, default to using `crun` instead of `runc`. Note that this only impacts the hard-coded default config. No user config will be over-written. Fixes: containers#4463 Signed-off-by: Valentin Rothberg <[email protected]>
Brand-new rawhide virt, brand-new user, brand-new first-time invocation of podman:
My hunch is that the new config code is not writing a
libpod.conf
, and then it's not picking up the propercrun
default:I can't actually get it to work even if I manually create a libpod.conf:
I'm getting into diminishing-returns territory. Please ping me for more info or if there's something obvious I haven't tried. (Before you ask: yes,
/usr/bin/crun
exists and is 755 and untouched by me).podman-1.6.4-0.7.dev.git581a7ec.fc32.x86_64 but also happening in earlier builds; I kind of suspect that this started with #4352 but it was being masked by the much-louder issue #4456
The text was updated successfully, but these errors were encountered: