Page MenuHomeVyOS Platform

Error if no serial interface is present (/dev/ttyS0: not a tty)
Closed, ResolvedPublicBUG


Not all machines ship a serial interface anymore.

On my ESXi instance I stumbled upon Nov 29 10:34:41 CR1 agetty[12394]: /dev/ttyS0: not a tty in my systems logs b/c I have not specified a serial console.

Also GRUB doesn't like it

We should make VyOS more intelligent to autodetect the serial console or even better, make it configurable. Could be that someone has a serial port but does not want a console?

Other references:

Looking through the sources, I found ./data/live-build-config/includes.chroot/opt/vyatta/etc/config.boot.default which is the default configuration that will be installed. It holds a serial interface.

console {
    device ttyS0 {
        speed 9600


Difficulty level
Hard (possibly days)
VyOS 999.201711232137
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po renamed this task from /dev/ttyS0: not a tty to Error if no serial interface is present (/dev/ttyS0: not a tty).Dec 2 2017, 8:19 AM
c-po changed Difficulty level from Unknown (require assessment) to Hard (possibly days).
syncer triaged this task as Wishlist priority.Dec 21 2017, 9:13 PM
syncer added a subscriber: syncer.

i removed serial device in OVA

c-po claimed this task.
c-po set Is it a breaking change? to Unspecified (possibly destroys the router).