Firstly, I understand that Ubuntu uses its own
upstart project to manage this sort of thing. It is also my understanding that this service will heed to /etc/inittab if this file exists. I've tried both and can't seem to add a tty. If someone could please point out my mistakes or assist me in troubleshooting, I would appreciate it. Here is what I tried...
Code:
$ cat /etc/event.d/tty8
# tty8 - getty
#
# This service maintains a getty on tty8 from the point the system is
# started until it is shut down again.
start on runlevel 2
start on runlevel 3
stop on runlevel 0
stop on runlevel 1
stop on runlevel 4
stop on runlevel 5
stop on runlevel 6
respawn
exec /sbin/getty 38400 tty8
From the
upstart webpage: "Upstart uses inotify to watch the configuration directory for changes, there's no need to force it to read the job definition again." So, assuming this means changes are automatic, I press Ctrl+Alt+F8... but alas, there is no login prompt.
Code:
$ cat /etc/inittab
8:2345:respawn:/sbin/mingetty tty8
$ telinit -q
Telinit should load the configuration in
inittab, which should precede
upstart. I press Ctrl+Alt+F8 once again, and still no login prompt.
So, am I doing this incorrectly or is there something wrong here? By the way, this is actually for a class and ideally I should be using inittab. But this class uses Fedora, whereas my primary distro is Kubuntu; I'd prefer to understand the proper way in Kubuntu, but knowing both can't hurt.
Not to mention, inittab is surely more prevalent at this time.
Thanks in advance for any assistance.