Skip to content

Commit

Permalink
compose: Add --check-passwd/group options, to fail if uids/gids change
Browse files Browse the repository at this point in the history
  • Loading branch information
james-antill committed Nov 20, 2014
1 parent cb5681a commit 1168041
Showing 1 changed file with 391 additions and 0 deletions.
Loading

2 comments on commit 1168041

@edsantiago
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an awful lot of duplication. What would you think of refactoring check_passwd() and _group(), adding a "passwd"/"group" argument, and a common parse_passwd_group_line()?

@cgwalters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also coreos#49

Please sign in to comment.