Sometimes i hate Linux

I've upgraded my Kernel 2.4.26 to 2.6.9 because i have a SiS mainboard and the SiS-support in 2.4.26 .. aehm .. yes .. g .. in any case.. after it, i start getting a couple of errors like:

[dope@painless:~]% xterm
xterm: Error 14, errno 21: Is a directory
Reason: spawn: open() failed on /dev/tty
[dope@painless:~]% man xterm
Error executing formatting or display command.
System command /bin/bzip2 -c -d /usr/X11/man/man1/xterm.1x.gz | /usr/bin/less -is exited with status 256.
[dope@painless:~]% uname -sr
Linux 2.6.9
[dope@painless:~]%


A Bug? No! pebcak. I have set CONFIG_UNIX98_PTYS=y in my config but i've forgotten to recreating /dev/tty *narf*.
[dope@painless:~]%  cat /etc/rc.d/rc.local
echo "Running mknod on /dev/tty* .."
/bin/rm -rf /dev/tty
/bin/mknod -m 666 /dev/tty c 5 0
[dope@painless:~]%

Problem solved ;-)

For comments, please send me an email