Re: My system behaves weird.. (fwd)
On Wed, 13 Dec 1995, Erick Branderhorst wrote:
> > Could anyone check and see if this problem is only occuring on my system?
> I'm not sure if and how all of this goes on on my machine but I experienced some
> weirdness with shutdown/reboot/ctrl-alt-deb. It sometimes even didn't get
> through the shutdown process, so I switched off.
I think I've solved the problem. It seems that init does some unexpected
things to accomodate for people that use the serial line as system console.
In a standard debian distribution /dev/console is a link to /dev/tty0 (c
4 0). Init expects /dev/console to be a link to the logical console and
/dev/systty to be a link to the physical console (tty0, ttyS1 or similar).
So when you do a halt with ctrl-alt-delete or shutdown now it links
/dev/console to /dev/systty if they are not both linked to the same
device. Now, I haven't managed to find any debian package that installs
the /dev/systty-link, so when init redirects output to it it is created
as a regular file, /dev/console is linked to it and things become kind of
interesting.
On my system I've linked /dev/console and /dev/systty to /dev/tty0 and
things seem to be ok. Could this be a bug? I didn't find any systty in
the Contents file on ftp.debian.org either..
As for my problem with xconsole. It seems that I removed an old
startup-script for named that was placed in /etc/rc.boot so instead of
named starting before syslog I now start syslog(S10) and later on
named(S19), and when syslog start reciving stuff from named it stops
using /dev/xconsole. (It works ok if I don't start named or start syslog
after named.. WEIRD.)
Vebby
--
Erick Branderhorst@heel.fgg.eur.nl +31-10-4635142
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL
Reply to: