Skip to content

Regression: crun-krun 1.23 fails to start when using rootless podman on AMD #1856

@iczero

Description

@iczero

On Fedora 42, after upgrade of crun-krun from 1.22-1.fc42 to 1.23.1-1.fc42, rootless podman can no longer start containers with --runtime krun. Still works if podman is running in rootful mode. Neither podman nor conmon were updated in this transaction.

Reproduction:

$ podman run --runtime krun --rm -it fedora:42 bash
[libcrun:krun]: `/dev/kvm` unavailable
(exit code 1)

I think it may be associated with this change: ac297b7. /dev/kvm does indeed exist and is accessible after running podman unshare.

crun version 1.23.1
commit: d20b23dba05e822b93b82f2f34fd5dada433e0c2
rundir: /run/user/1000/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL

podman version 5.5.2
conmon version 2.1.13
$ podman unshare
# ls -lah /dev/kvm
crw-rw-rw-. 1 nobody nobody 10, 232 Aug 23 21:44 /dev/kvm
# stat /dev/kvm
  File: /dev/kvm
  Size: 0               Blocks: 0          IO Block: 4096   character special file
Device: 0,6     Inode: 1863        Links: 1     Device type: 10,232
Access: (0666/crw-rw-rw-)  Uid: (65534/  nobody)   Gid: (65534/  nobody)
Context: system_u:object_r:kvm_device_t:s0
Access: 2025-08-23 21:44:38.542735460 -0700
Modify: 2025-08-23 21:44:38.542735460 -0700
Change: 2025-08-23 21:44:38.542735460 -0700
 Birth: 2025-07-12 23:10:20.260633340 -0700

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions