Bug 156069
Summary: | read console perm config files from /etc/security/console.perms.d | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Harald Hoyer <harald> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | scop, wtogami |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pam-0.79-8 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-05-06 09:24:25 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: | |||
Bug Depends On: | |||
Bug Blocks: | 136450 |
Description
Harald Hoyer
2005-04-27 11:06:16 UTC
10-local.perms wins over 50-console.perms, means "wins" only for the same regexp matches... if no match is found in 10-local.perms, 50-console.perms will be looked up of course. Should we keep /etc/security/console.perms where it is, but symlink from /etc/security/console.perms.d/default.perms ../console.perms, then read *only* files in /etc/security/console.perms.d/*.perms? Just an idea, maybe bad. Adding FC4Blocker because this is simple to implement and vital functionality that we eventually need. Then add a note to the default console.perms like "do not edit this file". Then make it no longer a %config file, so it gets wiped out with the default upon every upgrade. Re comment #2 - I'd like to leave the console.perms file as it is and where it is - it really isn't a complication. OTOH reading only .perms files is surely desirable - to skip backups at least. Re comment #3 - I'm not sure if this is a good idea, because I don't know what would happen on upgrade from the current package with console.perms as %config when an user has modified console.perms file already. Would it leave there the .rpmsave file or not? If not we would erase settings of user who didn't know that we are changing the purpose of console.perms. just let /etc/security/console.perms be where it is... no hassle.. *** Bug 135093 has been marked as a duplicate of this bug. *** In response to Comment #4, at some point we need to allow console.perms to be overwritten by a new packaged version. People upgrading to a new distribution should expect some reconfiguration may be needed to get devices working again. People affected by this are very few compared to the real benefit that most people would gain by having an uneditable default console.perms. We might as well make that "new distribution" FC4. I've changed console.perms to be %config and not %config(noreplace). It should be enough to fix the problem you mention and we don't drop the old settings completely. |