Problem getting login on tty1-tty6.
Stef Bon
stef at bononline.nl
Mon Nov 23 11:09:56 GMT 2009
Hello,
I've installed Upstart-0.6.3, and trying to boot my new LinuxFromScratch
system. There is almost nothing installed, dbus, Linux-PAM,
openssh, samba, rsync and of course upstart 0.6.3. No python, but that
should not be a problem.
I've installed it in /opt/upstart-0.6.3, with the sysconfig directory
/etc, making it look for the init events in /etc/init.
Now there are some files installed there, control-alt-delete.conf,
rc-sysinit.conf, rc.conf, rcS.conf.
I've added tty1.conf,...,tty6.conf. They look like
start on stopped runlevel [2345]
stop on runlevel [016]
task
respawn
exec /sbin/agetty tty1 9600
Now after booting with parameter init=/opt/upstart-0.6.3/sbin/init it
boots, but I do not get a local login after the startupscripts.
After logging in via ssh, I het the following output:
root [ /opt/upstart-0.6.3/sbin ]# ./initctl list
rc stop/waiting
tty4 stop/waiting
tty5 stop/waiting
control-alt-delete stop/waiting
rcS stop/waiting
rc-sysinit stop/waiting
tty2 stop/waiting
tty3 stop/waiting
tty1 stop/waiting
tty6 stop/waiting
now when starting job "tty1" manually:
root [ /opt/upstart-0.6.3/sbin ]# ./initctl start tty1
^C
root [ /opt/upstart-0.6.3/sbin ]# ./initctl list
rc stop/waiting
tty4 stop/waiting
tty5 stop/waiting
control-alt-delete stop/waiting
rcS stop/waiting
rc-sysinit stop/waiting
tty2 stop/waiting
tty3 stop/waiting
tty1 start/running, process 1290
tty6 stop/waiting
First I have to stop do control-C after starting tty1, the command did
not "stop".
Right after that I get a concole on the machine, with tty1 running as above.
What's wrong??
Maybe because the status of all jobs is "stop/waiting" instead of
"stopped", and the tty files are waiting for a "stopped" status??
By the way, what is the runlevel in upstart terms? Is it build in event??
Stef
More information about the upstart-devel
mailing list