Red Hat Bugzilla – Bug 1261798
"shadow" files overwritten with old RHEL-6 versions
Last modified: 2015-11-19 18:33:21 EST
Description of problem:
some postupgrade script from contents seems to rewrite /etc/passwd & co. files with old versions from RHEL-6
This causes loss of all new users & groups or modifications made during upgrade transaction.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. do the upgrade
2. on upgraded RHEL-7 check /etc/group & /etc/group.preupg
3. *.preupg file contains new content that is missing in regular file
This breaks features where RHEL-7 services on new groups. One example can be ssh server keys stored in /etc/ssh. New generated keys (that weren't available in RHEL-6) have wrong group ownership.
cleanconf dir does not contain "shadow" files (passwd,group,shadow,gshadow).
Upgraded RHEL-7 system seems to have correct files with all the new records included.
No .preupg copy of "shadow" files present in /etc.
Issue seems to be fixed properly.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.