serial console: add SMF services for console-login (vtdaemon) on serial ports
The Virtual Terminals Daemon provides for "the system console" (chosen via kernel boot-time options or eeprom=bootenv.rc), and 5 virtual terminals on the physial console. This allows to set the default console to be serial, while a random "vt[2-6]" terminal would invite to login on the screen+kbd. However, if the default console is physical, there are no login invitations on a serial port.
This RFE proposes to add SMF instance definitions for svc:/system/console-login:terma and svc:/system/console-login:termb (to mirror the names added in Solaris 11), and to take care in the method script to not start (self-temp-disable?) the service if the system console is the same serial terminal line.
Updated by Jim Klimov about 10 years ago
NOTE: These serial-line consoles should also have a minimized set of dependency milestones, so that possibly required boot-time repairs can be done over the serial console (while the default console is screen+kbd).
Alternately, a system-boot's request for repairs should fire up the serial consoles (if the service is not administratively disabled).