Bug 1194015

Summary: No shell on VT2, other VTs missing
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, johannbg, jonathan, jsynacek, lnykryn, msekleta, s, systemd-maint, vanmeeuwen+fedora, vpavlin, zbyszek
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: 2015-04-14 13:02:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2015-02-18 18:58:32 UTC
Description of problem:

Booted today's F22 PXE install image on a VM.  Cannot switch to VT2.  Only VT1 and VT4 appear to be active.

Version-Release number of selected component (if applicable):
22.20-1

How reproducible:
2 for 2 of the VM.

Comment 1 Orion Poplawski 2015-02-18 19:05:50 UTC
text mode kickstart install

Comment 2 Orion Poplawski 2015-02-18 19:08:57 UTC
Okay, this appears to be operator error - now with tmux apparently it is ctrl-b 2.  Would be nice if this was indicated on the screen.

Comment 3 David Shea 2015-02-24 22:19:11 UTC
There's supposed to be a shell on tty2, provided by systemd-logind, but for some reason logind isn't starting on F22 when you boot with inst.text. logind is running on tty2 in F21 when text mode is used.

The only changes to anaconda's systemd files since F21 have been to add anaconda-nm-config.service, which is used in both GUI and text installs, and to change the StandardInput parameter of anaconda-direct.service, which is only used in situations that don't apply here (inst.noshell, s390). I don't see anything obvious that would be causing a change in logind's behavior, so reassigning to systemd.

Comment 4 David Shea 2015-02-24 22:44:09 UTC
It's probably also worth noting that the installer environment uses ReserveVT=2 in /etc/systemd/logind.conf and symlinks a service that starts agetty to autovt@.service.

Comment 5 Jan Synacek 2015-04-14 09:06:59 UTC
systemd-logind is not started, because nothing requires it. Looking at the output of systemd-cgls, there is nothing that would actually need it or cause it to be loaded as a dependency.

To fix this "problem", add systemd-logind.service to the "Wants=" argument in the anaconda.service file.

Comment 6 Orion Poplawski 2015-04-14 13:02:58 UTC
Operator error