Git Product home page Git Product logo

Comments (8)

ANISANi avatar ANISANi commented on June 11, 2024 1

I have too issue with crun 1.11.1 on Arch Linux, I downgrade crun from cache. Now I use 1.9.2 and all works well...

from crun.

raphaelheinrich avatar raphaelheinrich commented on June 11, 2024

I run in the same issue with my local Fedora installation. Since the last system update I can no longer start containers with podman, podman run always aborts with the following error message:

crun: {"msg":"read from sync socket","level":"error","time":"2023-11-01T23:59:24.863327Z"}: OCI runtime error

After downgrading crun from v1.11.1 to v1.8.3 everything works as before.

System information.

OS
  Fedora Linux 38 (Server Edition)
Hardware info
  Intel(R) Client Systems NUC8i5BEH
  Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz

BTW - Podman runs smoothly on my laptop with a similar software setup and same OS version.

from crun.

giuseppe avatar giuseppe commented on June 11, 2024

@raphaelheinrich do you have a reproducer?

from crun.

raphaelheinrich avatar raphaelheinrich commented on June 11, 2024

Hi @giuseppe

I found the cause of the problem for me. In an older Fedora version, I had activated cgroup v1 via Kernel parameter (systemd.unified_cgroup_hierarchy=0) in order to be able to use Docker. I have now reverted this change and podman works as usual again with version v1.11.1.

from crun.

giuseppe avatar giuseppe commented on June 11, 2024

crun should work fine with cgroup v1 too. What issue have you encountered?

from crun.

raphaelheinrich avatar raphaelheinrich commented on June 11, 2024

I can also recreate the problem on a second machine (OS: Fedora Linux 38 (Workstation Edition)). With active cgroup v1 I cannot start a container. But only when I run this as sudo, rootless also works fine with active cgroup v1.

I can say that the error only occurs for me when cgroup v1 is active and I start container as root.

In the log I see a Failed to create container: exit status 139 to that. I have attached the log entry for this.

cgroup_issue_protocol_log.txt

from crun.

rhatdan avatar rhatdan commented on June 11, 2024

cgroups V1 can not go away fast enough. :^(

from crun.

giuseppe avatar giuseppe commented on June 11, 2024

could you please verify if #1341 solves the problem you are seeing?

If you confirm it does, I can cut a new release with it

from crun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.