Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compose: Fix lookup of previous /etc/passwd
I swear I tested this, but anyways coreos#79 wasn't quite right. We need to look at /usr/etc/{passwd,group} for previous data. We happily noticed there was no /etc/passwd in the tree, then proceeded to do the merge and split again, with the result of an empty /usr/etc/passwd in the new tree. That in turn resulted in an empty /etc/passwd in an installed system, i.e. with no "root" user, with obvious bad consequences, namely in my case crashing Anaconda. (Yes, I will write a testsuite for this)
- Loading branch information