Page MenuHomeVyOS Platform

Serial Getty repeating errors
Closed, InvalidPublicBUG

Description

Every 10 seconds these errors are added to the /var/log/messages file

> Nov 24 01:06:41 vyos systemd[1]: [email protected] holdoff time over, scheduling restart.
> Nov 24 01:06:41 vyos systemd[1]: Stopping Serial Getty on ttyS0...
> Nov 24 01:06:41 vyos systemd[1]: Starting Serial Getty on ttyS0...
> Nov 24 01:06:41 vyos systemd[1]: Started Serial Getty on ttyS0.
> Nov 24 01:06:41 vyos agetty[27371]: /dev/ttyS0: not a tty
> Nov 24 01:06:51 vyos systemd[1]: [email protected] holdoff time over, scheduling restart.
> Nov 24 01:06:51 vyos systemd[1]: Stopping Serial Getty on ttyS0...
> Nov 24 01:06:51 vyos systemd[1]: Starting Serial Getty on ttyS0...
> Nov 24 01:06:51 vyos systemd[1]: Started Serial Getty on ttyS0.
> Nov 24 01:06:51 vyos agetty[27378]: /dev/ttyS0: not a tty
> Nov 24 01:07:01 vyos systemd[1]: [email protected] holdoff time over, scheduling restart.
> Nov 24 01:07:01 vyos systemd[1]: Stopping Serial Getty on ttyS0...
> Nov 24 01:07:01 vyos systemd[1]: Starting Serial Getty on ttyS0...
> Nov 24 01:07:01 vyos systemd[1]: Started Serial Getty on ttyS0.
> Nov 24 01:07:01 vyos agetty[27385]: /dev/ttyS0: not a tty
> Nov 24 01:07:12 vyos systemd[1]: [email protected] holdoff time over, scheduling restart.
> Nov 24 01:07:12 vyos systemd[1]: Stopping Serial Getty on ttyS0...
> Nov 24 01:07:12 vyos systemd[1]: Starting Serial Getty on ttyS0...
> Nov 24 01:07:12 vyos systemd[1]: Started Serial Getty on ttyS0.
> Nov 24 01:07:12 vyos agetty[27394]: /dev/ttyS0: not a tty

I haven't experienced any issues from this but it does clutter the log file a lot

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.0-rolling+201811220337
Why the issue appeared?
Other

Event Timeline

May it be you are running on a virtualized environment and have not added a serial port to your VM?

To fix this either

  • add serial console to VM
  • check system console configuration ode and remove the serial entry

Yes it is a virtual environment, that was a simple fix. Removed the serial entry. I don't recall adding it, is it added by default or maybe erroneously detected?

VyOS ships a serial port interface in the default configuration upon installation.

Closing this one.

c-po claimed this task.
c-po changed Why the issue appeared? from Will be filled on close to Other.