diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-02-28 17:23:38 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-03-06 16:50:21 +0000 |
commit | 5afdc1e8e66c565bbe2d5c8bb4669351043a3841 (patch) | |
tree | 813af76afd28ccaffb313d7895e0cd717c8fadaf /tests/bscs-sync.in/systems/version3 | |
parent | 8ea4bfba8076af0f325b7be11761e64f2c96819b (diff) | |
download | tbdiff-5afdc1e8e66c565bbe2d5c8bb4669351043a3841.tar.gz |
baserock-system-config-sync: Force copy /etc/passwd and /etc/group
This change is to ensure the existing users will exist after an
upgrade. Otherwise, if there are merge conflicts when upgrading,
the users will be lost and the root password will be deactivated.
If that happens and the only way to access to the system is
through ssh and the system was rebooted after the upgrade (manually
or automatically) then the system won't be accessible anymore.
This change also means that we can no longer make changes to the
base /etc/passwd or /etc/group in the 'fhs-dirs' chunk without adding
a manual hook to add the new users/groups when upgrading old systems.
In the following link is the email thread where was discussed this issue:
http://vlists.pepperfish.net/pipermail/baserock-dev-baserock.org/2014-March/004581.html
Diffstat (limited to 'tests/bscs-sync.in/systems/version3')
0 files changed, 0 insertions, 0 deletions