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

Bjørn Mork bjorn at mork.no
Fri Aug 28 08:55:42 BST 2020

Package: systemd
Version: 241-7~deb10u4
Severity: normal

Hash: SHA1

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

- -- Package-specific info:

- -- System Information:
Debian Release: 10.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser          3.118
ii  libacl1          2.2.53-4
ii  libapparmor1     2.13.2-10
ii  libaudit1        1:2.8.4-3
ii  libblkid1        2.33.1-0.1
ii  libc6            2.28-10
ii  libcap2          1:2.25-2
ii  libcryptsetup12  2:2.1.0-5+deb10u2
ii  libgcrypt20      1.8.4-5
ii  libgnutls30      3.6.7-4+deb10u5
ii  libgpg-error0    1.35-1
ii  libidn11         1.33-2.2
ii  libip4tc0        1.8.2-4
ii  libkmod2         26-1
ii  liblz4-1         1.8.3-1
ii  liblzma5         5.2.4-1
ii  libmount1        2.33.1-0.1
ii  libpam0g         1.3.1-5
ii  libseccomp2      2.3.3-4
ii  libselinux1      2.8-1+b1
ii  libsystemd0      241-7~deb10u4
ii  mount            2.33.1-0.1
ii  util-linux       2.33.1-0.1

Versions of packages systemd recommends:
ii  dbus            1.12.20-0+deb10u1
pn  libpam-systemd  <none>

Versions of packages systemd suggests:
pn  policykit-1        <none>
ii  systemd-container  241-7~deb10u4

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.133+deb10u1
ii  udev             241-7~deb10u4

- -- no debconf information



More information about the Pkg-systemd-maintainers mailing list