serial-getty at ttyS0.service does not start

Rainer Dorsch ml at bokomoko.de
Sun Jan 7 13:45:51 GMT 2024


Hello,

I tried to start a serial console on ttyS0, but when I try to start the 
serial-getty service, it does not return:

root at master:~# systemctl status serial-getty at ttyS0.serviceserial-getty at ttyS0.service - Serial Getty on ttyS0 
    Loaded: loaded (/lib/systemd/system/serial-getty at .service; enabled; 
preset: enabled) 
    Active: inactive (dead) 
      Docs: man:agetty(8) 
            man:systemd-getty-generator(8) 
            https://0pointer.de/blog/projects/serial-console.html 
root at master:~# systemctl start serial-getty at ttyS0.service  

Printing kernel messages on the same console works flawless:

rd at master:~$ cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-6.1.0-17-amd64 root=/dev/mapper/master--vg-root ro 
console=tty0 console=ttyS0,115200n8 quiet
rd at master:~$ 

Any hint or idea why the serial console is not working is welcome.

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/





More information about the Pkg-systemd-maintainers mailing list