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

Shengjing Zhu zhsj at debian.org
Wed Mar 10 16:11:26 GMT 2021

On Thu, Mar 11, 2021 at 12:07 AM Andrej Shadura <andrewsh at debian.org> wrote:
> Hi,
> 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.

Sign, you can nitpick this. But I think it's already clear in the error message.

> "newuidmap": executable file not found in $PATH

You need to install something that provides newuidmap binary.

And please remember the default Debian installation installs
Recommends packages.

Shengjing Zhu

More information about the Pkg-go-maintainers mailing list