Re: sbuild on hurd-amd64...

Johannes Schauer Marin Rodrigues <[email protected]> Mon, 29 Jun 2026 00:21:15 +0200
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <178268527518.115769.3202251384641831611@localhost>
--===============8848659614134107621==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

Quoting Samuel Thibault (2026-06-28 23:04:30)
> Johannes Schauer Marin Rodrigues, le dim. 28 juin 2026 22:25:04 +0200, a =
ecrit:
> > Quoting Samuel Thibault (2026-06-28 21:45:10)
> > > Johannes Schauer Marin Rodrigues, le dim. 28 juin 2026 21:31:20 +0200=
, a ecrit:
> > > > getty[645]: Bad syntax
> > >=20
> > > What command do you have in /etc/inittab? What option triggers that "=
Bad
> > > syntax"?
> >=20
> > I quoted it in the email you just replied to. :)
> >=20
> > Here it is:
> >=20
> > C0:2345:respawn:/sbin/agetty -8 --noclear --keep-baud -a root console 1=
15200,38400,9600 $TERM
>=20
> But then I'm lost: you mentioned that "The magic switch to getty is -a". =
 But
> apparently there are more options that need to get supported?

No, I can make the call to getty (it has to be getty from src:hurd not aget=
ty
from src:util-linux, right?) specific to Hurd. The "magic switch" comment w=
as
because debvm configures auto-login by default on Linux. The -a switch was
missing until you implemented it. Hurd does not need to support all the opi=
tons
which you see in the agetty command above. Adding a Hurd-specific getty lin=
e to
/etc/inittab is not an issue. It was even a possibility to declare "Hurd do=
es
not support auto-login" but since you implemented -a that is moot I guess. =
:)

If I look at my current /etc/inittab it tells me:

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

I don't have /dev/ttyS0 and my /proc/cmdline says console=3Dcom0 and that o=
ne
also seems to exist:

root@testvm:~# ls -l /dev/com0
crw------- 1 root root 0, 0 Jun 28 19:18 /dev/com0

So I should probably have this in my /etc/inittab, right?

T0:23:respawn:/sbin/getty -L com0 9600 vt100

But then I still get "getty[656]: Bad syntax". What getty invocation is kno=
wn
to work for a serial getty in a qemu guest?

Thanks!

cheers, josch
--===============8848659614134107621==
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+EFAmpBnlYACgkQ8sulx4+9
g+Gzaw//WMf66z3m1iapsXUHsONWidNgZ5CM+Z+4YGyEkZOTc6w9hjYje51EIdmj
1yFIhJ8TsT+h8j/ypE8wSE7OuYgHpX+af8a/yZf9ZpokITdc+XfEh5PoYn7rZeR/
0DlF+9WyeyN7HznTEuJqJey/QmuybS4vrX/BscnkS/HLImP+avoDlYexQQM/fHhB
j0zv44CA1mOjduRluh07JFd0k22u6TO8+N9ahj0OhG6flqzqOf1uMEmk6F5ZHYih
AIiVn/5FdvZEKMnwaa8IqaGvktL0vYCcLOO6kF8NumfxpI5899kNdhTnjvBf3BqW
ulsXMs3wYkyBBG4rU/9dCiTHVO2e20C6fMh4h3evSAuABwr6tFixWpqic5MDAcXJ
tuKLUlhkGYQS9abdVlYLOTOiLHwUr1hK36003UNjYCDiP7nGWINXBz/JQnF0ykza
z2oT2yF7z84MalM5j9JNqYFORr7cAyJbynoRwlpkTnUCywl4bZmdjat2V2MocGn3
d2IvABwNgEaw8G4xJss7q6HdIILHjUBycQ99nP6Iuaw1pHt68rpdp+HRm4k5lN2Z
MYCk5hLcF/XXd4m6+ffDzU9lV0OirO835FtLWUfPmToT/GwZPh6I3458U1kdETW+
m5zqh2Ztzraw4AMfhallcldW16pYOoj7/lVzn+dmzzMLhMCO1zw=
=FhjV
-----END PGP SIGNATURE-----

--===============8848659614134107621==--