Hi,
It seems getty(8) needs an argument (in /etc/ttys at least):
Otherwise, loads of this in /var/log/authlog after rebooting:
Apr 13 15:27:03 pine getty[31932]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[12802]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[17719]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[30241]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[19066]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[23566]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[2623]: (null): Bad file descriptor
Apr 13 15:27:03 pine getty[3246]: (null): Bad file descriptor
Apr 13 15:27:04 pine getty[19976]: (null): Bad file descriptor
Apr 13 15:27:04 pine init: getty repeating too quickly on port /dev/tty00,
sleeping
getty(8) says the 'default' table is used when no argument is given.
Noticed when changing /etc/gettytab default speed to 9600 baud:
default:\
:np:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#9600:
With this entry in /etc/ttys:
tty00 "/usr/libexec/getty" xterm on secure
$ uanme -msrv
OpenBSD 5.6 GENERIC#274 i386