Bug 1090639 - drop /etc/securetty file
Summary: drop /etc/securetty file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-23 20:12 UTC by Matthew Miller
Modified: 2014-04-24 05:44 UTC (History)
3 users (show)

Fixed In Version: setup-2.9.0-1.fc21
Clone Of:
Environment:
Last Closed: 2014-04-23 21:57:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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