Bug 1090639

Summary: drop /etc/securetty file
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: moez.roy, ovasik, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: setup-2.9.0-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-23 21:57:05 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 Matthew Miller 2014-04-23 20:12:08 UTC
See background at https://fedorahosted.org/fesco/ticket/1298#comment:1 and discussion thread here: https://lists.fedoraproject.org/pipermail/devel/2014-April/197712.html

In short, securetty doesn't scale well to the modern world of dynamic device files, and actively breaks in containers.

Please remove /etc/securetty from the package -- this will reduce confusion (since the normal semantics are that a missing file means nothing is blocked).


Thank you!

Comment 1 Ondrej Vasik 2014-04-23 20:36:48 UTC
Ok, based on the thread and discussion, removal in default pam auth modules and util-linux is prerequisite to not break the stuff, right? Can you please add these bugzillas to depends on, so I can track the progress in these?

Comment 2 Matthew Miller 2014-04-23 21:19:04 UTC
The related bug is #1090638, but it's not actually a dependency either way, because:

* If /etc/securetty is removed but the pam configuration unchanged, the pam module treats that as "allow anything" -- the desired state, but with extra lines in the pam file which aren't doing anything
* If the pam configuration is changed but /etc/securetty is still there, it won't work anymore, which may be confusing, but doesn't block anything

Comment 3 Matthew Miller 2014-04-23 21:19:35 UTC
Sorry, bug #1090638 (linked!)

Comment 4 Ondrej Vasik 2014-04-23 21:47:18 UTC
Ok, thanks for explanation. Will drop it in next rawhide setup build.

Comment 5 Ondrej Vasik 2014-04-23 21:57:05 UTC
Dropped in setup-2.9.0-1.fc21, closing RAWHIDE.