Re: sbuild on hurd-amd64...

Johannes Schauer Marin Rodrigues <[email protected]> Wed, 03 Jun 2026 07:33:24 +0200
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <178046480450.1054759.159486642906842290@localhost>
--===============0573217993814819057==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

Quoting Samuel Thibault (2026-06-02 01:37:03)
> Johannes Schauer Marin Rodrigues, le lun. 01 juin 2026 10:26:13 +0200, a =
ecrit:
> > I have not yet figured out how to auto-login the root user in GNU/Hurd.=
 The
> > agetty line which works on Linux errors out with "getty[585]: Bad synta=
x" and
> > according to Samuel Thibault it may just be that this feature isn't imp=
lemented
> > yet in hurd.
>=20
> Do you know the syntax that is used for that? It can as well just be
> implemented.

this is what debvm does for sysvinit:

https://salsa.debian.org/helmutg/debvm/-/blob/main/share/debvm/customize-au=
tologin.sh?ref_type=3Dheads#L64

C0:2345:respawn:/sbin/getty -8 --noclear --keep-baud -a root console 115200=
,38400,9600 $TERM

The magic switch to getty is -a or --autologin which automatically logs in =
the
given user (in this case, root). When I try that on Hurd I get:

getty[621]: Bad syntax

> > I also do not yet know how to set up networking inside the QEMU guest. =
The
> > /etc/network/interfaces which works on Linux does not seem to give me a=
ny
> > network inside the Hurd QEMU guest.
>=20
> It should be working.
>=20
> Which kind of configuration are you using?

This is the /etc/network/interfaces that debvm creates:

https://salsa.debian.org/helmutg/debvm/-/blob/main/share/debvm/customize-if=
updown.sh?ref_type=3Dheads#L15

auto /enp*=3Deth
iface eth inet dhcp

> The inet dhcp method should
> be just working. The static configuration probably needs to make sure
> that /servers/socket/2 is translated as
>=20
> /hurd/pfinet -i /dev/eth0 -6 /servers/socket/26
>=20
> and /servers/socket/26 as
>=20
> /hurd/pfinet -i /dev/eth0 -4 /servers/socket/2
>=20
> as I guess ifupdown hasn't yet bet taught to do it.

These translators exist because mmdebstrap created them:

https://gitlab.mister-muffin.de/josch/mmdebstrap/src/branch/main/mmdebstrap=
#L1107

What else could I investigate to debug whit is going on? For example in Lin=
ux
I can just run "ip link" to check which devices are even there. What do I do
on GNU/Hurd?

Thanks!

cheers, josch
--===============0573217993814819057==
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+EFAmofvJ8ACgkQ8sulx4+9
g+HMRQ//fEW3pskTwKspgLBSLPCblh5YKqGDP5nTH41UfcbhckcOk+fJMyHBUOhY
162RxKIYjNRxLxKcJSCDvxgNCqoNUcTVPKbiq8Q8EvyzEYf/4akI2eCakPJXH0yJ
ISQZIojuHbnpsurFRbo0/PfNXIo+GQrtxOyNUIB4c6GBtEU/P/cILgIRbq2AJoZq
iejSLPYPMmzZoHA5kJCM9VU+9dnWMh+UTeEN1OsjR+hWqiKMPguV+1hGFG3atTn5
gkaaOrYNxhVtCF+7cFBQy/7IpCFA3s4l6RDHHVulYc6K156ePK+R/5o/C30YoFHP
nhHYHYFmBoQQVWITflGctR0DnjEtQjgokh51Fl/f8y5cwMjYOA4exECTvhZBXDEW
oGnIMbXYGj3aoOMzSayZKIO0oWRGWjYvtsXZAJmISBezCAIkIllo31oFbtFuhI6G
OrzX9yU99JS9vYejclBRxm9TDzWLeVqNIfjpGfWr1u+XRNM2alcpIzgXqbjjD0V/
Lc18FI4zgbCSjuOa0hU4TNtJsOWWMA9ne6WIm0fmYExsckbvrpNF/8WcVpk0NEYl
2fV3SVLK90mWdS66dg14leBKnEIXZJmPm0G0N6oQ9AYKAuqqdibbcTte4LOrrv2u
LBQSQ3NgQTCE/tKAOeT5GFQPFV5yVJ4MU3C4eo2K7FPu+n4h70M=
=w2NY
-----END PGP SIGNATURE-----

--===============0573217993814819057==--