You are not logged in.

#1 2020-07-22 18:07:51

juray
Member
Registered: 2012-01-12
Posts: 26

Podman 2.0.2 stopped working

Hello,

podman in rootless mode worked well in arch linux. I'm not sure which upgrade break things, but with version of podman 2.0.2 does not work anymore.

I enabled cgroups v2  with this command, because it was first error I encoutered:

# mount -t cgroup2 none /sys/fs/cgroup

But when I'm trying to build image (which works before dozen times), I'm getting error

2020-07-22T17:50:43.000001324Z: error creating systemd unit `crun-buildah-buildah387355777.scope`: got `failed`

Here is more verbose output with enabled debug log level:

DEBU[0000] Running ["/usr/bin/crun" "--systemd-cgroup" "create" "--bundle" "/var/tmp/buildah387355777" "--pid-file" "/var/tmp/buildah387355777/pid" "--console-socket" "/var/tmp/buildah387355777/console.sock" "buildah-buildah387355777"]
2020-07-22T17:50:43.000001324Z: error creating systemd unit `crun-buildah-buildah387355777.scope`: got `failed`
error running container: error creating container for [/bin/sh -c apk add --no-cache util-linux git &&   rm -rf /var/cache/apk/*]: : exit status 1
DEBU[0000] error building at step {Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=12.18.2 YARN_VERSION=1.22.4] Command:run Args:[apk add --no-cache util-linux git &&   rm -rf /var/cache/apk/*] Flags:[] Attrs:map[] Message:RUN apk add --no-cache util-linux git &&   rm -rf /var/cache/apk/* Original:RUN apk add --no-cache util-linux git &&   rm -rf /var/cache/apk/*}: error while running runtime: exit status 1
Error: error building at STEP "RUN apk add --no-cache util-linux git &&   rm -rf /var/cache/apk/*": error while running runtime: exit status 1
make: *** [Makefile:13: build] Error 125

Or another example

$ podman pull node:12-alpine3.10
$ podman run f4ee33144ba0
Error: error creating systemd unit `libpod-46530a76733931c4fd8e851fefae608f5ccf792ee88e6e66fe61281d4eccb614.scope`: got `failed`: OCI runtime error

I'm not sure, if it is bug in podman or wrong configuration in my system.

Thank You for any help!

J.

Edit:
I found that with

podman version 2.0.0

everything works as expected. From

podman version 2.0.1

things are broken...

Last edited by juray (2020-07-22 19:06:54)

Offline

#2 2020-09-10 12:20:29

cda0
Member
Registered: 2020-09-10
Posts: 1

Re: Podman 2.0.2 stopped working

I am having the same problem with 2.0.6.

Did you find a fix?

Offline

#3 2020-09-14 07:45:35

juray
Member
Registered: 2012-01-12
Posts: 26

Re: Podman 2.0.2 stopped working

Hi, no I didn't find solution. sad I just abandoned podman on Arch Linux from that time and using other PC where it is working.

Offline

#4 2020-09-23 02:44:44

iinuwa
Member
Registered: 2020-09-23
Posts: 1

Re: Podman 2.0.2 stopped working

I had the same problem when mounting the cgroup while the system was running. Adding the `systemd.unified_cgroup_hierarchy` kernel parameter to my bootloader options and rebooting fixed the issue for me.

Offline

Board footer

Powered by FluxBB