Bug 682785

Summary: No login prompt in runlevel 1 and s
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: systemdAssignee: systemd-maint
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: joachim.backes, johannbg, johannbg, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-25 18:59:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mads Kiilerich 2011-03-07 15:35:56 UTC
When adding 1 or s to the boot kernel options I would expect to get something similar to the old runlevel 1 or singleuser mode, but the ttys are completely blank. The only option I have found is ctrl-alt-del for rebooting. 

If these options no longer are available I would expect some kind of visible error message or default behaviour.

As mentioned on Bug 682285 the ttys works fine in "runlevel 5".

systemd-19-1.fc15.i686

Comment 1 Lennart Poettering 2011-03-07 23:48:23 UTC
This should be working actually. Probably some weird issue with interfacing with Plymouth.

Are you testing this with or without Plymouth? Do you have "rhgb" on the kernel cmdline? Or rd_NO_PLYMOUTH?

Comment 2 Mads Kiilerich 2011-03-08 00:16:03 UTC
That is with plymouth-0.8.4-0.20110304.1.fc15.i686 and rhgb. I see the plymouth KMS progress animation and then just a flashing cursor.

I guess I will see the same issue with runlevel "3" but be able to ssh to the machine and poke around. Anything particular to look for?

Comment 3 Lennart Poettering 2011-03-08 01:32:11 UTC
Hmm, this works fine here...

If you wait 3mins, for ply to timeout, does it work then? do you get a prompt then?

if you boot with "rd_NO_PLYMOUTH", does that help?

Comment 4 Mads Kiilerich 2011-03-08 12:22:52 UTC
In runlevel 3 I also just see a cursor and no prompt.

ssh and ps shows that no plymouth is running - but it also shows that agetty is  running on tty1-6.

Waiting for 3 minutes makes no difference.

rpm -qV systemd systemd-units shows noting.

HOWEVER, in runlevel 3 I can switch to other VTs and get a login prompt - and I can't find the empty screen on any other VT. In runlevel 1 and s there are no such other VTs. So it seems the problem could be something related to enabling/controlling the default VT?

With rd_NO_PLYMOUTH instead of rhgb it works as expected in runlevel 1.

The system is fully updated to f15 updates-testing but kernel-PAE-2.6.38-0.rc7.git4.1.fc15.i686 .

Comment 5 Joachim Backes 2011-03-19 13:30:27 UTC
(In reply to comment #0)
> When adding 1 or s to the boot kernel options I would expect to get something
> similar to the old runlevel 1 or singleuser mode, but the ttys are completely
> blank. The only option I have found is ctrl-alt-del for rebooting. 

Having exactly the same issue (see BZ 689090) with systemd-20-1.fc15.x86_64

> 
> If these options no longer are available I would expect some kind of visible
> error message or default behaviour.
> 
> As mentioned on Bug 682285 the ttys works fine in "runlevel 5".
> 
> systemd-19-1.fc15.i686

Comment 6 Joachim Backes 2011-03-19 13:40:42 UTC
(In reply to comment #3)
> Hmm, this works fine here...
> 
> If you wait 3mins, for ply to timeout, does it work then? do you get a prompt
> then?
> 
> if you boot with "rd_NO_PLYMOUTH", does that help?

Seems not to be a global workaround. Omitting RHGB or using rd_NO_PLYMOUTH  does not help for me.

Comment 7 Lennart Poettering 2011-03-29 22:33:40 UTC
(In reply to comment #4)
> In runlevel 3 I also just see a cursor and no prompt.
> 
> ssh and ps shows that no plymouth is running - but it also shows that agetty is
>  running on tty1-6.

So an agetty is running on tty1 in runlevel 3, but when you switch to VT1 you do not see a prompt and the VT does not react to your keypresses?

VT2-6 work fine however?

Comment 8 Joachim Backes 2011-03-30 03:51:32 UTC
(In reply to comment #4)
> In runlevel 3 I also just see a cursor and no prompt.

I cannot confirm this: I had this problem too, but in the meanwhile I got rid from this after having applied all updates: booting into runlevel 3 is OK for me!

Joachim Backes

> 
> ssh and ps shows that no plymouth is running - but it also shows that agetty is
>  running on tty1-6.
> 
> Waiting for 3 minutes makes no difference.
> 
> rpm -qV systemd systemd-units shows noting.
> 
> HOWEVER, in runlevel 3 I can switch to other VTs and get a login prompt - and I
> can't find the empty screen on any other VT. In runlevel 1 and s there are no
> such other VTs. So it seems the problem could be something related to
> enabling/controlling the default VT?
> 
> With rd_NO_PLYMOUTH instead of rhgb it works as expected in runlevel 1.
> 
> The system is fully updated to f15 updates-testing but
> kernel-PAE-2.6.38-0.rc7.git4.1.fc15.i686 .

Comment 9 Lennart Poettering 2011-04-06 01:47:38 UTC
Mads, is it possible you are simply running into 688661?

Mads, if there is no other problem left open with systemd 23 but 688661, are you OK if I close the bug and we track things there?

Comment 10 Fedora Admin XMLRPC Client 2011-10-20 16:26:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 11 Jóhann B. Guðmundsson 2012-01-24 11:24:30 UTC
Is this still a problem or can this bug be closed?

Comment 12 Jóhann B. Guðmundsson 2012-01-25 18:59:38 UTC
Closing this. 

This probably was fixed between 20 <-> 24 release of systemd.