Skip to content

crun 1.24: regression masked paths return EACCES #404

@Luap99

Description

@Luap99

see in podman CI with the new update https://api.cirrus-ci.com/v1/artifact/task/6632208376528896/html/int-podman-fedora-42-rootless-host-sqlite.log.html#t--Podman-run-podman-run-default-mask-test--1

Building from source shows the same problem

$ podman --runtime /home/pholzing/CODE/crun/crun  run --rm quay.io/libpod/testimage:20241011 ls /proc/acpi
ls: can't open '/proc/acpi': Permission denied

Compared to the old crun 1.23.1

$ podman --runtime /usr/bin/crun  run --rm quay.io/libpod/testimage:20241011 ls /proc/acpi

which exits 0 without any error

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