| Summary: | init 1 -> init 5 + failed login hangs the system | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sebastian Freundt <devel> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | andres.hans, johannbg, metherid, mschmidt, notting, plautrba, systemd-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-08 13:23:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Sebastian Freundt
2012-01-11 14:59:35 UTC
(In reply to comment #0) > Steps to Reproduce: What is the initial state? Being in runlevel 5 and logged in an X session? > 1. go to runlevel 1 Here you may already encounter bug 771563, which is fixed in systemd-37-6.fc16. > 2. go back to 5 > 3. on the console let the first login fail Not sure what you mean exactly. CTRL+ALT+F<n> to switch to a text VT and give a bad username/password? > 4. give the right credentials On the same VT? Try if systemd-37-6.fc16 changes anything for you. https://admin.fedoraproject.org/updates/systemd-37-6.fc16 Oh sorry. The initial runlevel is 5, state is an xdm running, and a serial console is attached from which I'm performing my diagnostics. Yes, correct credentials on the same VT, can't be more precise as it's all the serial console in my case. I'll try the fix, and report back. Ok, now it's a bit easier to reproduce the bug. With 37-6.fc16 it's not necessary to give the wrong credentials anymore. The system hangs even if the first credentials are correct. (Or maybe that was always the case but with a systemd 36 it seemed to work if the credentials were correct right away) what's the conntent of /etc/sysconfig/desktop ? i got this issue also, but i fixed, cuz i allways install Fedora from minimal packages options on install stage and every time i forgot to config /etc/sysconfig/desktop, i think this skips firstlogin and other setup which could be the issue of not having /etc/sysconfig/desktop created which could lead to this "bug") [root@lxvz9mv901 ~]# uname -a Linux lxvz9mv901 3.3.7-1.fc17.i686.PAE #1 SMP Mon May 21 22:42:05 UTC 2012 i686 i686 i386 GNU/Linux [root@lxvz9mv901 ~]# rpm -q openbox lxdm openbox-3.5.0-5.fc17.i686 lxdm-0.4.1-1.fc17.i686 [root@lxvz9mv901 ~]# and i got solved as soon as created /etc/sysconfig/desktop here you have mine: [root@lxvz9mv901 ~]# cat /etc/sysconfig/desktop PREFERRED=/usr/bin/openbox-session DISPLAYMANAGER=/usr/sbin/lxdm [root@lxvz9mv901 ~]# Correct. That indeed `fixes' the problem. This is handled by the spins ks files as in "# LXDE and LXDM configuration # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop <<EOF PREFERRED=/usr/bin/startlxde DISPLAYMANAGER=/usr/sbin/lxdm EOF" # xfce configuration # create /etc/sysconfig/desktop (needed for installation) cat > /etc/sysconfig/desktop <<EOF PREFERRED=/usr/bin/startxfce4 EOF etc.. Thus closing this as a notabug Thanks. And where is that documented? I think it's rather odd to assume there is a /etc/sysconfig/desktop present, and if there's not, to freeze the system. But ok, I will file a bug elsewhere then. This is handled by the spins? ....dont think so... if you install from dvd-iso choosing the minimal installation, and from then install your custom X-server and display manager you wont have the /etc/sysconfig/desktop configured, so, you'll be in trouble. But this is opensource, so, you can allways google it or check /etc/X11/prefdm to see what it does. ;-) It it just go through the desktop spins here... http://git.fedorahosted.org/git/?p=spin-kickstarts.git;a=tree;h=31a20c8a3a6520ced84847fa15e571b6cb83e425;hb=31a20c8a3a6520ced84847fa15e571b6cb83e425 |