Hi.
This unwelcome creation of getty services has the nasty consequence
of flooding the logs with messages like:
[...]
authpriv.err: Mar 26 20:40:12 getty[23104]: /dev/tty2: No such file or directory
authpriv.err: Mar 26 20:40:17 getty[23125]: /dev/tty1: No such file or directory
authpriv.err: Mar 26 20:40:20 getty[23136]: /dev/tty5: No such file or directory
authpriv.err: Mar 26 20:40:21 getty[23142]: /dev/tty4: No such file or directory
authpriv.err: Mar 26 20:40:21 getty[23144]: /dev/tty3: No such file or directory
authpriv.err: Mar 26 20:40:22 getty[23146]: /dev/tty2: No such file or directory
authpriv.err: Mar 26 20:40:27 getty[23167]: /dev/tty1: No such file or directory
[...]
That's because these devices need not (and shouldn't) be present inside
a vserver.
With the advent of virtual computing solutions (vserver, XEN, UML, ...),
the less dependent on the hardware, the better to help make the point
for a more widespread adoption of the "runit" scheme.
For example, it's a pain to circumvent the usual "/etc/init.d" scripts
especially when the distribution make assumptions on what should be done
at system initialization, a.o.:
- Setting the clock
- Mounting filesystems
- Checking filesystems
- Setting up network interfaces
All of which are unnecessary inside a vserver (and forbidden in order to
enhance security).
Moreover, some packages (e.g. postfix, and the other MTA) make the assumption
that certain packages (e.g. netbase) must be present in order for them to
function. While this is true on actual hardware, the assumption is *wrong*
for vserver, because all of this is taken care of on the host.
[Hence postfix *could* run without netbase being installed.]
With System V init scheme, one has to manually delete all unwanted scripts
(to suppress warnings about things being tried inside the vserver but
forbidden), sort of working around the distribution.
While, with runit, all one has to do, is to comment out the line
/etc/init.d/rcS
in "/etc/runit/1" in order to short-circuit the whole thing!
Now if these getty are added automatically, then, again, one has to work
around the distribution (deleting the links), and this, at each upgrade
of "runit-run". :-{
Hopefully, this is reason enough for these services to be optional
in runit-run, or provided in another package (possibly "suggested"
by runit-run).
Regards,
Gilles
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]