Bug#969144: systemd: serial-getty at .service should support 57600 baud

Michael Biebl biebl at debian.org
Fri Aug 28 12:16:07 BST 2020


Control: tags -1 + upstream

Thanks for the patch. Since that is not a Debian integration issue,
please consider submitting that upstream as pull request
https://github.com/systemd/systemd/pulls

Regards,
Michael

Am 28.08.20 um 09:55 schrieb Bjørn Mork:
> Package: systemd
> Version: 241-7~deb10u4
> Severity: normal
>
> Dear Maintainer,
> 
> My BIOS provides pre-boot access to the system over serial, and sets
> the port up for 57600.  So I have configured the client (conserver)
> to use that speed.  This has happened to work by accident with the
> systemd serial-getty at .service because of the  --keep-baud
> parameter to agetty.
> 
> But today I ended up changing the speed of the port while temporarily
> testing another client.  And was surprised to learn that it is
> impossible to switch back to 57600 with the default serial-getty at .service 
> 
> 
> I see no reason why this standard baud rate should be excluded from
> the list of rates.  Please fix
> 
> --- a/lib/systemd/system/serial-getty at .service   2020-04-27 19:02:57.000000000 +0200
> +++ b/etc/systemd/system/serial-getty at .service   2020-08-28 09:45:03.000000000 +0200
> @@ -31,7 +31,7 @@
>  # The '-o' option value tells agetty to replace 'login' arguments with an
>  # option to preserve environment (-p), followed by '--' for safety, and then
>  # the entered username.
> -ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM
> +ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I $TERM
>  Type=idle
>  Restart=always
>  UtmpIdentifier=%I
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200828/411f9758/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list