<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Thank you for your report. I have to admit that I'm a bit confused, according to attached<br></div><div class="gmail_default" style="font-family:courier new,monospace">data, it seems you have both 'runc' as well as 'crun' installed. In that case, changing</div><div class="gmail_default" style="font-family:courier new,monospace">the order of the dependencies won't make a difference.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Please confirm what packages of 'crun' and 'runc' you have installed.<br><br>Note that the default container runtime is configured in /etc/containers/containers.conf, which</div><div class="gmail_default" style="font-family:courier new,monospace">is provided by the golang-github-containers-common package. I notice your comment that your</div><div class="gmail_default" style="font-family:courier new,monospace">system doesn't have that file at that location. I assume that you deleted it. Please refer to</div><div class="gmail_default" style="font-family:courier new,monospace"><a href="https://manpages.debian.org/experimental/golang-github-containers-common/containers.conf.5.en.html">https://manpages.debian.org/experimental/golang-github-containers-common/containers.conf.5.en.html</a><br></div><div class="gmail_default" style="font-family:courier new,monospace">for fallback locations of that file.</div><div class="gmail_default" style="font-family:courier new,monospace"><br>You can verify the default on <a href="https://salsa.debian.org/go-team/packages/golang-github-containers-common/-/blob/ec3c1e1123cb9c682c988905fdf967fe8a88a829/pkg/config/containers.conf#L397-399">https://salsa.debian.org/go-team/packages/golang-github-containers-common/-/blob/ec3c1e1123cb9c682c988905fdf967fe8a88a829/pkg/config/containers.conf#L397-399</a>.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">It seems that I indeed missed this commit: <a href="https://salsa.debian.org/go-team/packages/golang-github-containers-common/-/commit/6475ef3063d4a1f50fc84b2e1ceac759f09fbeee">https://salsa.debian.org/go-team/packages/golang-github-containers-common/-/commit/6475ef3063d4a1f50fc84b2e1ceac759f09fbeee</a> that changes the default from runc to crun in version</div><div class="gmail_default" style="font-family:courier new,monospace">0.30.1. Switching the dependency order to read 'crun | runc' instead of 'runc | crun' seems appropriate, and I'll</div><div class="gmail_default" style="font-family:courier new,monospace">do that in the next upload.<br><br>Thanks!<br>-rt</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 16, 2021 at 5:30 PM Filippo Giunchedi <<a href="mailto:filippo@debian.org">filippo@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: podman<br>
Version: 3.0.1+dfsg1-1<br>
Severity: important<br>
<br>
This is the same as #971253. Specifically, 'runc' is installed as the first<br>
Depend, however podman defaults to 'crun'. I think podman should depend on<br>
'crun' first so it works out of the box (and with cgroups v2).<br>
<br>
root@host1:~# podman images<br>
Error: default OCI runtime "crun" not found: invalid argument<br>
root@host1:~# ls -la /etc/containers/containers.conf<br>
ls: cannot access '/etc/containers/containers.conf': No such file or directory<br>
<br>
<br>
-- System Information:<br>
Debian Release: bullseye/sid<br>
  APT prefers testing-security<br>
  APT policy: (500, 'testing-security'), (400, 'testing')<br>
Architecture: amd64 (x86_64)<br>
Foreign Architectures: i386<br>
<br>
Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>
Shell: /bin/sh linked to /bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
LSM: AppArmor: enabled<br>
<br>
Versions of packages podman depends on:<br>
ii  conmon                           2.0.25+ds1-1<br>
ii  containernetworking-plugins      0.9.0-1+b2<br>
ii  crun                             0.17+dfsg-1<br>
ii  golang-github-containers-common  0.33.4+ds1-1<br>
ii  init-system-helpers              1.60<br>
ii  libc6                            2.31-9<br>
ii  libdevmapper1.02.1               2:1.02.175-2.1<br>
ii  libgpgme11                       1.14.0-1+b2<br>
ii  libseccomp2                      2.5.1-1<br>
ii  runc                             1.0.0~rc93+ds1-2+b1<br>
<br>
Versions of packages podman recommends:<br>
ii  buildah                                           1.19.6+dfsg1-1<br>
ii  catatonit                                         0.1.5-2<br>
ii  fuse-overlayfs                                    1.4.0-1<br>
ii  golang-github-containernetworking-plugin-dnsname  1.1.1+ds1-4+b3<br>
ii  slirp4netns                                       1.0.1-1<br>
ii  tini                                              0.19.0-1<br>
ii  uidmap                                            1:4.8.1-1<br>
<br>
Versions of packages podman suggests:<br>
ii  containers-storage  1.24.8+dfsg1-1<br>
pn  docker-compose      <none><br>
<br>
-- no debconf information<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">regards,<br>    Reinhard</div></div>