Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1177429

Bug#1055065: doesnt find useradd

From Harlan Lieberman-Berg <hlieberman@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1055065: doesnt find useradd
Date 2023-12-05 23:50 +0100
Message-ID <HHMoQ-bvNU-27@gated-at.bofh.it> (permalink)
References <HuD9D-1Vx6-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 30 Oct 2023 17:14:57 +0100 Marc Haber
<mh+debian-packages@zugschlus.de> wrote:
> debspawn create sid errors out because the tool cannot find useradd. I
> have added adduser manually to "include_pkgs" in osbase.py and this
> allows debspawn create sid to finish.

I've done a bit of digging, and I traced this problem back to a change
in the way debootstrap works when installing the buildd variant, which
is what debspawn uses.  In bug 837060, debootstrap stopped installing
packages which were Priority: Required but not essential.
Specifically, the passwd package is the cause here; failure to install
passwd means that the `useradd` command is not available.  The reason
that installing the adduser package fixed this is that adduser depends
on passwd, so it was indirectly pulled in.

It's certainly easy enough for us to fix on the debspawn side -- we
can just unilaterally add the passwd package -- but it is a bit...
strange for us to have to fix.  It seems, to me, like this is
something we should be able to rely on debootstrap for.  I've copied
the relevant bug; hopefully we can get some input from the bootstrap
folx.  (Maybe we should be using the minbase variant instead? Except
we're always building packages... should we be using a specific user?
I'm not sure!)

Sincerely,

-- 
Harlan Lieberman-Berg
~hlieberman

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1055065: doesnt find useradd Marc Haber <mh+debian-packages@zugschlus.de> - 2023-10-30 17:20 +0100
  Bug#1055065: doesnt find useradd Harlan Lieberman-Berg <hlieberman@debian.org> - 2023-12-05 23:50 +0100
    Bug#1055065: doesnt find useradd Johannes Schauer Marin Rodrigues <josch@debian.org> - 2023-12-18 23:50 +0100

csiph-web