cherring wrote:
I keep getting in my secure log:
agetty[4159]: /dev/tty0: No such file or directory.
Can anyone tell me what this is and how to recitfy it? I am using Gentoo Linux.
Cheers.
Yeah, your device node for tty0 is missing.
This probabaly means you can't login with lish, so you should probabaly fix it...
tty0 should be a character device node with major 4 and minor 0.
(man mknod for more info on how to create device nodes)
Here's what things look like on my (heavily modified) Slackware system.
Code:
root@overbeck:/dev# ls -al tty0
lrwxrwxrwx 1 root root 4 2006-02-08 00:21 tty0 -> vc/0
root@overbeck:/dev# ls -al vc/0
crwx-w---- 1 root tty 4, 0 2006-02-20 21:09 vc/0
root@overbeck:/dev#
You might be able to get away with
Code:
mknod /dev/tty0 c 4 0; chown root:tty /dev/tty0; chmod u+rwx,g=w,o-rwx /dev/tty0
depending on how your /dev directory is managed.