Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose: Fix lookup of previous /etc/passwd #87

Merged
merged 1 commit into from
Jan 7, 2015

Commits on Jan 7, 2015

  1. 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)
    cgwalters committed Jan 7, 2015
    Configuration menu
    Copy the full SHA
    5345c85 View commit details
    Browse the repository at this point in the history