[Bug 282539] sysutils/podman: Setuid flag lost when creating container image

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Nov 2024 14:34:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282539

            Bug ID: 282539
           Summary: sysutils/podman: Setuid flag lost when creating
                    container image
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dfr@FreeBSD.org
          Reporter: bjorn3_gh@protonmail.com
             Flags: maintainer-feedback?(dfr@FreeBSD.org)
          Assignee: dfr@FreeBSD.org

Whenever I create a container image using podman, the setuid flag is lost in
the produced image. If there are multiple RUN commands in a Dockerfile, after
each RUN command all setuid flags are lost and once starting a container using
the built image, setuid is lost too. I can set the setuid flag while the
container is running and it takes effect as intended. Only serialization to a
container image loses setuid.

-- 
You are receiving this mail because:
You are the assignee for the bug.