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

repack: change --[ug]id-map= UX to match user_namespaces(7) #167

Merged
merged 2 commits into from
Aug 25, 2017

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Aug 25, 2017

Our IDMap interfaces were not matching what a user who is familiar with
user_namespaces(7) would expect. This caused me some confusion while
trying to debug a user namespace bug. While this is a breaking change,
I'm fairly confident that there are almost no users of this feature.

In addition, actually add documentation on the --[ug]id-map format
(which was previously not explicitly documented at all).

Fixes: 9f88dd9 ("{un,re}pack: implement ID mapping")
Signed-off-by: Aleksa Sarai asarai@suse.de

Our IDMap interfaces were not matching what a user who is familiar with
user_namespaces(7) would expect. This caused me some confusion while
trying to debug a user namespace bug. While this is a breaking change,
I'm fairly confident that there are almost no users of this feature.

In addition, actually add documentation on the --[ug]id-map format
(which was previously not explicitly documented at all).

Fixes: 9f88dd9 ("{un,re}pack: implement ID mapping")
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Aleksa Sarai <asarai@suse.de>
@cyphar
Copy link
Member Author

cyphar commented Aug 25, 2017

LGTM.

@cyphar cyphar merged commit 89b63f1 into opencontainers:master Aug 25, 2017
cyphar added a commit that referenced this pull request Aug 25, 2017
  CHANGELOG: mention changes to --[ug]id-map
  repack: change --[ug]id-map= UX to match user_namespaces(7)

LGTMs: @cyphar
Closes #167
@cyphar cyphar deleted the idmap-fix-format branch August 25, 2017 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant