Re: sbuild on hurd-amd64...
Johannes Schauer Marin Rodrigues <[email protected]> Tue, 09 Jun 2026 14:47:30 +0200
| Newsgroups | gmane.linux.debian.ports.hurd |
|---|---|
| Message-ID | <178100925079.1054759.9709836837044797624@localhost> |
--===============0177830947541768908== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, Quoting Johannes Schauer Marin Rodrigues (2026-06-09 11:50:30) > chown: invalid group: 'root:netdev' > can't chown /run/network ... (warning). Maybe the above is part of the problem. The system did not have the netdev group because the ifupdown postinst script calls: if [ "$1" =3D configure ]; then addgroup --quiet --system netdev || true fi The addgroup call will fail with DPKG_ROOT but that failure will be silence= d by the "|| true" part at the end and that's why I didn't notice that the group wasn't created. Running addgroup is incompatible with DPKG_ROOT and the solution is to swit= ch to a different method of adding the netdev group. One solution is to switch= to the sysusers approach and Luca Boccassi already filed a MR against src:ifup= down which implements this here: https://salsa.debian.org/debian/ifupdown/-/merge_requests/31 I have now thrown the ifupdown package into our dpkg-root-demo CI setup to = make sure that it creates bit-by-bit identical output with DPKG_ROOT compared to without DPKG_ROOT. In addition to Luca's patch another small fix is needed = to also create /etc/network/interfaces correctly: https://salsa.debian.org/debian/ifupdown/-/merge_requests/32 I now created the netdev group manually. Thanks! cheers, josch --===============0177830947541768908== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmooC2IACgkQ8sulx4+9 g+EVbQ//VjoxbzN1iX/k1KCK4RXUXnLI9zSiP6T1QkLnKgRRTKslrPBT8yG0tl9K OCQxpyUnWz4fHEjLH8xHW66CjUoaiFzqYUyQwvSIgA6TRUwUBKMOXh7S9RaB360B S0yp6a1L8PHq+dr002yR+K1faCYyKv4Czabjh/VKu+GFbdZd0D95Sd1aCaMeNf9r 7IEsZry4jzCO9f8bPPRoWQ5/RJdKqMtXrfu40SbK1kl6UUHv4b2qNIAfDwhDgcS5 cRX1a43f7xsuB37fBMJUoSD94DS9IPrXFuKuTN6G+gKc9aSAtpL8dxtxBCub+ryH SrEz73rDKHSIwS3Oa32DPMRFfgyH7GXbZpQOmM45h87ZC+1NpBUpiKCpRdNKTQvp FOADDGftdUcbsrLZAkqcEZ5T3n2vFnQ8EeziX0bHFgty3Og0pGTuHGU0y9rYu7Hw pfwORdBFH+yQb+McnI4TazuW3iCLTRjl3R6BZvj4QAJNzYNZRv0d8GrhoZ9lWRUP 0zHf5gPi2H48wuTk0RxLmoYaEj+cEqPKtqY205IyudtPehrydPBuR09Y3b+k0J3i QP6TjuDjmlollloCiIcX1fCh0hGqgHxnRiv/uSdOsSF7qkrQ/Pyz31yiRuvm5eMG zMGjX+B0T+UJsnPJR3yek8YOxY1+LqQEvNRWoAjz+fnbe368ICc= =M3il -----END PGP SIGNATURE----- --===============0177830947541768908==--