[Bug 787664] New: systemd: stuck login prompt
https://bugzilla.novell.com/show_bug.cgi?id=787664 https://bugzilla.novell.com/show_bug.cgi?id=787664#c0 Summary: systemd: stuck login prompt Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: jslaby@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Every time I boot my system, for the first time, the login password prompt is stuck on the serial console. I am able to enter login, it is printed twice, but password query does not respond to my typing (enter does nothing). It's like: linux-u8yo login: root root Password: <stuck> Then it writes "login: timed out after 60 seconds" and I'm able to log in normally. The cure is also to press enter with blanc name to start a new login prompt. It looks like getty is started twice on ttyS0? # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.6.5-1-desktop root=UUID=2a083c62-4eca-44f4-b3f9-61cc420b9887 video=1024x768 console=tty0 console=ttyS0,115200 splash=silent quiet showopts # ll /etc/systemd/system/getty.target.wants/ total 0 lrwxrwxrwx 1 root root 34 Aug 24 21:48 getty@tty1.service -> /lib/systemd/system/getty@.service lrwxrwxrwx 1 root root 41 Sep 12 20:53 serial-getty@ttyS0.service -> /lib/systemd/system/serial-getty@.service -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c1
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c2
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c3
--- Comment #3 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c4
--- Comment #4 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c5
--- Comment #5 from Jiri Slaby
could you try removing /etc/systemd/system/getty.target.wants/serial-getty@ttyS0.service ?
It does not help. It still gets stuck. What is weird is the output of the name for teh second time after I press enter: linux-u8yo login: root root <---- this? Password: <stuck> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c7
--- Comment #7 from Jiri Slaby
since I can't reproduce this, could you try to boot with systemd.log_level=debug systemd.log_target=kmsg and attach dmesg output ?
Attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c9
Jiri Slaby
did you try to login on serial console ? I don't see anything relevant there..
I hope so. For sure, I'm attaching a new one. The dmesg is taken at this state: linux-u8yo login: Started System Logging Service [ OK ] Starting ACPI Event Daemon... Starting D-Bus System Message Bus... Started D-Bus System Message Bus [ OK ] Started ACPI Event Daemon [ OK ] Starting LSB: X Display Manager... Started Avahi mDNS/DNS-SD Stack [ OK ] Started Login Service [ OK ] Started LSB: X Display Manager [ OK ] root root Password: login: timed out after 60 seconds Welcome to openSUSE 12.2 "Mantis" - Kernel 3.6.8-1-desktop (ttyS0). linux-u8yo login: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c10
--- Comment #10 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c11
--- Comment #11 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=787664
https://bugzilla.novell.com/show_bug.cgi?id=787664#c12
Jiri Slaby
still valid on 12.3 ?
Nope. I actually fixed it in 12.2, but don't remember how anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com