Bug 725073
Summary: | Unmodified /etc/login.defs replaced on upgrade, breaking existing systems | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miloslav Trmač <mitr> | ||||||
Component: | shadow-utils | Assignee: | Peter Vrabec <pvrabec> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | adel.gadllah, gholms, pvrabec, tmraz | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-07-25 13:22:26 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: | 717109 | ||||||||
Attachments: |
|
Created attachment 514766 [details]
Preserve unmodified login.defs on upgrade
|
Created attachment 514765 [details] Preserve unmodified login.defs on upgrade Even with %config(noreplace) the configuration file is replaced when it was not modified by users. This is correct behavior, but it means that the [GU]ID_MIN change from 500 to 1000 would break existing systems. The attached patch adds scriptlets that manually preserve the old configuration. The md5sum value matches the login.defs file shipped in Fedora 1[345].