Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 704198 - s390x: systemd should open /dev/console on terminal
Summary: s390x: systemd should open /dev/console on terminal
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: s390x
OS: Linux
high
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2011-05-12 12:16 UTC by Jan Stodola
Modified: 2011-05-12 14:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-12 14:02:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Stodola 2011-05-12 12:16:50 UTC
Description of problem:
After installation of Fedora 15 for s390x and rebooting into installed system, root is not able to login via x3270 terminal emulator:

...
Fedora release 15 (Lovelock)  
Kernel 2.6.38.3-18.fc15.s390x on an s390x (ttyS0)
  
rtt7.xxx login: root
root 
Password: xxx
 
Login incorrect 


This is caused by starting "ttyS0" on terminal instead of "console". With RHEL6 or Fedora 14, "console" is opened on terminal:


Fedora release 14 (Laughlin)  
Kernel 2.6.35.6-45.fc14.s390x on an s390x (console)  
  
rtt6 login: root
root  
Password: xxx
  
Last login: Thu May 12 07:37:29 from vpn1-xxx
Ýroot@rtt6 ~¨# tty
tty  
/dev/console  


To be consistent with previous releases, systemd should open /dev/console on terminal, since "console" is allowed in /etc/securetty, "ttyS0" is not allowed:

[root@rtt7 ~]# grep ttyS0 /etc/securetty 
[root@rtt7 ~]# grep console /etc/securetty 
console


Version-Release number of selected component (if applicable):
systemd-24-1.fc15.s390x

How reproducible:
always

Steps to Reproduce:
1. install F15 for s390x
2. reboot
3. try to login as root via terminal
  
Actual results:
Login fails

Expected results:
root can login via terminal

Comment 2 Dan Horák 2011-05-12 14:02:56 UTC
After a discussion with Lennart it is an issue in pam_securetty where it must check also for devices from /sys/class/tty/console/active in addition to the console= kernel parameter. New bug will be filed.


Note You need to log in before you can comment on or make changes to this bug.