FS#16571 - [initscripts] No Login / TTYs after upgrade to kernel 2.6.31
Attached to Project:
Arch Linux
Opened by Radu Potop (wooptoo) - Sunday, 11 October 2009, 13:07 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 11 October 2009, 17:33 GMT
Opened by Radu Potop (wooptoo) - Sunday, 11 October 2009, 13:07 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 11 October 2009, 17:33 GMT
|
Details
Description:
After the upgrade to kernel 2.6.31, I get this error at init: ::Setting Consoles to UTF-8 mode [BUSY] /etc/rc.sysinit: line364: /dev/tty[0-9]*: No such file or directory Also, the login process doesn't start, so i get no TTYs. I can only login using gdm. Additional info: * package: Name : kernel26 Version : 2.6.31.3-1 |
This task depends upon
Looks like you don't have tty devices.
Version : 2009.08-1
$ ls -l /dev/tty*
crw-rw-rw- 1 root tty 5, 0 2009-10-11 16:09 /dev/tty
-rw-r--r-- 1 root root 3 2009-10-11 15:00 /dev/tty[0-9]*
Version : 146-2
Theoretically this can happen when upgrading initscripts from 2009.03-2 to 2009.08-1 skipping versions in between.
for i in $(/bin/ls -1 /dev/tty[0-9]* 2>/dev/null); do
this will skip the for loop when no /dev/tty* exist and thus prevent creation the file named '/dev/tty[0-9]*' by `> /dev/tty[0-9]*` inside the loop.
So this is "Not a bug" then. Wanna make patch for [ -c $i ] ?
@brain0: I attached the output.
It was this line:
KERNEL=="tty[0-9]*", NAME="vc/%n", SYMLINK+="%k"
in /etc/udev/rules.d/81-arch.rules that caused the bug.
Login works now, TTYs appear in /dev, VCs are gone, but i have a lot of TTYs in /dev:
/dev/tty0 to 63 is this normal?