Skip to content

internal: enable XattrPrivileged for untar to fix selinux issue#1

Merged
dongsupark merged 1 commit intomasterfrom
dongsu/untar-priv
Aug 8, 2019
Merged

internal: enable XattrPrivileged for untar to fix selinux issue#1
dongsupark merged 1 commit intomasterfrom
dongsu/untar-priv

Conversation

@dongsupark
Copy link
Copy Markdown
Member

@dongsupark dongsupark commented Jul 31, 2019

To be able to extract tarballs with selinux contexts, torcx needs to turn on XattrPrivileged, because the default XattrUser option is able to extract only selinux contexts starting with user prefix.

See also:
flatcar-archive/coreos-overlay#55
flatcar/scripts#16

@dongsupark dongsupark added the bug Something isn't working label Jul 31, 2019
To be able to extract tarballs with selinux contexts, torcx needs to
turn on `XattrPrivileged`, because the default `XattrUser` option
is able to extract only selinux contexts starting with `user` prefix.

See also:
flatcar-archive/coreos-overlay#55
flatcar/scripts#16
@dongsupark dongsupark merged commit 9ab653d into master Aug 8, 2019
@dongsupark dongsupark deleted the dongsu/untar-priv branch August 8, 2019 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants