[pkg-go] Bug#983395: podman lacks a runtime dependency on rootlesskit

Andrej Shadura andrewsh at debian.org
Wed Mar 10 16:07:08 GMT 2021


On Wed, 10 Mar 2021, at 17:04, Shengjing Zhu wrote:
> > 2) Docker doesn’t require installing anything else to be useful for non-root users, if podman does, it should be in Depends.
> No, it's wrong.
> Docker has two modes.
> 1. root mode. It runs a daemon, and listens to a local socket, which
> is /var/run/docker.sock The socket is owned by docker group. Non root
> can't access this unless you are in the docker group.
> 2. rootless mode, you need the uidmap and rootlesskit package to setup
> the demon for non root users.
> So, it never requires no thing for non root users.

That’s an implementation detail. From the user’s point of view, a package which gives an error on install without any clear pointers to what went wrong (e.g. "try to run as root?") looks like a broken package.


More information about the Pkg-go-maintainers mailing list