[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-25 Thread Launchpad Bug Tracker
This bug was fixed in the package crun - 0.17+dfsg-1.1ubuntu0.1 --- crun (0.17+dfsg-1.1ubuntu0.1) jammy; urgency=medium * lp2056442-ignore-enotsup-when-chmod-symlink.patch: Ignore ENOTSUP when chmod a symlink (LP: #2056442) -- Julian Andres Klode Thu, 07 Mar 2024 14:17:06

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-25 Thread Andreas Hasenack
There was no clear indication which running kernel was used during the verifications, so I did it: Using the Dockerfile from the test plan: FROM ubuntu:noble RUN apt install -U systemd -y CMD ["/lib/systemd/systemd"] And building with "podman build -t systemd ." a) 5.15.0-105 kernel (jammy GA

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-25 Thread Andreas Hasenack
Marking mantic as "won't fix" according to comment #33 above. ** Changed in: crun (Ubuntu Mantic) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title:

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-12 Thread Jacob Godserv
** Merge proposal linked: https://code.launchpad.net/~fun2program8/ubuntu/+source/crun/+git/crun/+merge/464233 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun)

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: crun (Ubuntu Mantic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title:

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-11 Thread Julian Andres Klode
jammy to mantic is not a particular interesting upgrade path, it's opt- in only, so if nobody is interested in a mantic fix we shouldn't block the jammy LTS fix for it. jammy users will be upgrading to noble and not be affected by a mantic regression. -- You received this bug notification

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-11 Thread Markus Falb
Yeah, but the default is crun. I could have modified the config file of course. But I have not: ...snip # podman run --systemd always -d cruntest 231947c35e1d58cfb3d1ca37e52b6324288af515e3ce6c25a0873a721a213f1b # podman run --systemd always --runtime crun -d cruntest

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-11 Thread Andreas Hasenack
> # dpkg -l crun Markus, thanks for the verification, but crun can be installed together with runc, and it's not clear which one will end up being used. That's why it's best to also make sure runc is *not* installed. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-04-11 Thread Andreas Hasenack
This is blocked on a mantic upload fixing the same issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-29 Thread Markus Falb
I also tried the package in some CI runs on github. Looks Good. I changed verification-needed-jammy to verification-done-jammy, however, I would appreciate if another one affected can confirm that it works for him too. Don't know about tag verification-needed, so I did not touch it. -- You

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-29 Thread Markus Falb
** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu 22.04: OCI runtime

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-29 Thread Markus Falb
I installed the package ...snip # dpkg -l crun Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionArchitecture Description

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-28 Thread Andreas Hasenack
I see the same code in mantic's crun package, and the problem can also be reproduced there: $ uname -a Linux nsnx2 6.5.0-25-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 14:58:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux $ grep VERSION_CODENAME /etc/os-release VERSION_CODENAME=mantic $

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-28 Thread Andreas Hasenack
I'm also updating the test case to make sure crun is installed, because runc can also satisfy podman's dependency on an OCI runtime. ** Description changed: [Impact] podman containers using the default crun backend do not work anymore with the 6.5 HWE kernel in 22.04 [Test plan] 1.

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-28 Thread Andreas Hasenack
I updated the test case one more time to request a run with the jammy GA kernel, to make sure we haven't regressed that (unaffected) use case. I'm accepting the jammy upload to get things going, but the mantic question from comment #24 will need to be addressed before the jammy fix can hit

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-21 Thread Julian Andres Klode
Sorry, I just did not fix the first line when editing the test plan ** Description changed: [Impact] podman containers using the default crun backend do not work anymore with the 6.5 HWE kernel in 22.04 [Test plan] - Needs to be finalized, but roughly: - 1. Boot jammy with 6.5 HWE

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-21 Thread Andreas Hasenack
Echoing Robie's question, and marking task as incomplete pending a test plan update. ** Changed in: crun (Ubuntu Jammy) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-20 Thread Robie Basak
> [Test plan] > Needs to be finalized... Is this finalized yet please? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu 22.04: OCI runtime error:

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Faustin
Ok, in #6 I tested with debian 11 which is not impacted, re-testing... Ok all good, I can reproduce it too: buildbot@bb-monty-bbw1-x64-ubuntu-2204-amd64:~$ uname -r 6.5.0-1015-azure buildbot@bb-monty-bbw1-x64-ubuntu-2204-amd64:~$ podman run --rm -d ghcr.io/fauust/docker-systemd:debian-12 Error:

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Faustin
Hi Markus! Indeed not all images are impacted, here is a non exhaustive list (alpine is particular since it use OpenRC): https://github.com/fauust/docker-systemd/actions/runs/8139697623 My problem was that I was not able to reproduce it, see #6. Anyway, I am a bit lost here but apparently some

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Markus Falb
Hi Faustin, #12 This bug is a little bit about which image to use, because not every image is triggering this bug. First, systemd must be present in the image. Second, some images are known to not trigger it, e.g. Debian older than 12, Fedora, Rocky, the whole RedHat world does not show the

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Julian Andres Klode
Indeed, the issue was that I tried to use ENTRYPOINT instead of CMD to start systemd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu 22.04: OCI

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Faustin
Hi Julian! Strange, the GH CI was failing for me without this argument, see https://github.com/fauust/docker- systemd/blob/main/.github/workflows/build.yml#L129-L140 and https://github.com/fauust/docker- systemd/actions/runs/8139697623/job/22386833452. -- You received this bug notification

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Julian Andres Klode
Test plan adjusted; fix uploaded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Julian Andres Klode
The success case surprisingly ends up being: ubuntu@test-crun-20240307:~$ podman run --systemd always systemd Explicit --user argument required to run as user manager. But using CMD makes it work. weird stuff ** Description changed: [Impact] podman containers using the default crun

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Julian Andres Klode
I can reproduce the issue now, I missed a --systemd always argument. I used ubuntu@test-crun-20240307:~$ cat Dockerfile FROM ubuntu:noble RUN apt install -U systemd -y ENTRYPOINT /usr/bin/systemd ubuntu@test-crun-20240307:~$ podman run --systemd always systemd Error: OCI runtime error: chmod

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-08 Thread Faustin
Hi Markus! The problem is not which image to use (you can use one of mine, see https://github.com/fauust/docker-systemd/ and #6). Or as explained in #5 by Julian, you can also try to build gardenlinux. But if your are able to reproduce the bug on your setup that's good, can you please describe

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Markus Falb
for the record, the crun from https://launchpad.net/~juliank/+archive/ubuntu/podman/+packages passes my reproducer Setting up crun (0.17+dfsg-1.1ubuntu0.1) ... ...snip $ podman run --systemd always -d cruntest 792cc9c24c9c1e936686e63c26befdb67b7e45dd8f9e70c608d164fb49fff7a4 snap... no error

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libpod (Ubuntu Jammy) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libpod (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title:

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Markus Falb
to reproduce create a systemd image ...snip $ cat - >Containerfile

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
** Changed in: crun (Ubuntu Jammy) Assignee: (unassigned) => Julian Andres Klode (juliank) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in Ubuntu

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
The problem we have is that we need to be able to reproduce it so we can verify the change actually fixes the bug, otherwise we can't even upload it. ** Also affects: crun (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: libpod (Ubuntu Jammy) Importance: Undecided

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Faustin
I am not sure that this is something easy to find (at least I don't know how to proceed). And above all, my understanding is that the problem seems to be related to the "old" crun version and quite new kernels (6.5). Also, 22.04 (and Bullseye) comes with crun 0.17 and there is a huge gab with the

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
I installed podman on a jammy host in Azure and I tried running a default noble image and building an image from whater gardenlinux is (same as in the bug report), but both work fine. ubuntu@test-crun-20240307:~$ uname -r 6.5.0-1015-azure ubuntu@test-crun-20240307:~$ podman run --rm -it

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
If you have some time please let me know if that works for you. I tried spinning up a jammy lxd VM but sadly my VM agent crashed or something and I can't access the console due to other bugs so it takes a while to test this on my end - but this is basically the upstream patch applied. **

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
Fix and follow up fix cherry-picked in https://launchpad.net/~juliank/+archive/ubuntu/podman/+packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056442 Title: Podman (crun) regression in

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread John Chittum
upstream commit in `crun` : https://github.com/containers/crun/pull/1309/commits/57262a2710c83fa08767f0ce3ba7a80993515bb2 I think a trivial reproducer, outside GH runners, is * start a system with a 6.5 kernel (for a VM downloaded from cloud-images, need to install the HWE kernel. or start on

[Bug 2056442] Re: Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod `run/shm`: Operation not supported

2024-03-07 Thread Julian Andres Klode
If you find out which commit(s) in crun need to be cherry-picked and how to reproducibly verify that this fixes the issue, I'm happy to upload them for you. ** Summary changed: - Podman (crun) regression in Ubuntu 22.04 + Podman (crun) regression in Ubuntu 22.04: OCI runtime error: chmod