Created attachment 774935 [details]
anaconda users.py patch
Description of problem:
anaconda uses libuser, which always set the "date of last password change" /etc/shadow field, even when password aging is not enabled (which it is not by default on Fedora, and it cannot be enabled at install time AFAIK).
This leads to a slightly inconsistent /etc/shadow, which by itself is not a big problem, where it not for bug 985569, which forces users to have to change their password immediately on first login, despite the user having been created seconds ago by initial-setup.
Attached is a patch for anacond which makes anaconda tell libuser to not set the "date of last password change" /etc/shadow field, thus leading to /etc/shadow entries which are consistent with what other tools create, and working around the libuser bug.
This issue is also forcing password changes on the F20 Alpha TC2 for ARM, has this patch been considered further?
Patch posted to anaconda-patches. Hans, feel free to do it on your own next time.
anaconda-20.13-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-20.13-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
anaconda-20.14-1.fc20 has been submitted as an update for Fedora 20.
anaconda-20.15-1.fc20 has been submitted as an update for Fedora 20.
anaconda-20.16-1.fc20 has been submitted as an update for Fedora 20.
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
anaconda-20.17-1.fc20 has been submitted as an update for Fedora 20.
verified with anaconda-20.17-1.fc20
anaconda-20.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.