Upstart
From ZENotes
(Difference between revisions)
m (1 revision) |
Latest revision as of 23:59, 14 October 2011
ubuntu doesn't use inittab anymore; when you come from somewhere else, it's frustrating...
- all TTYs are defined one-by-one in /etc/init/ and that is where you decide if they are active or not, and at which runlevel, for what user.
The original syntax was:
exec /sbin/getty 115200 tty2
And now is:
exec /bin/login -f ubuntu </dev/tty2 > /dev/tty2 2>&1
- hostname now defined in /etc/hostname and, probably, in /etc/hosts as well. Or not. /etc/init/hostname.conf is NOT the conf file, it's the starting script to act on the /etc/hostname file and to set that hostname. Keep cool, breathe normally, there is nothing you can do about it.
And sometimes, the ubuntu hostname comes back. aargh.
Well, except jumping to Slackware or Arch, for sure.