Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

profiles: enable selinux for tar,coreutils for sdk profile #55

Merged
merged 1 commit into from Aug 1, 2019

Conversation

dongsupark
Copy link
Contributor

To be able to fix the issue of torcx tarballs not being able to have selinux contexts, we need to enable selinux for the sdk profile.

Also enable selinux for tar package in the generic profile.

To be able to fix the issue of torcx tarballs not being able to
have selinux contexts, we need to enable selinux for the sdk profile.
Also enable selinux for tar package in the generic profile.
@dongsupark dongsupark added the bug Something isn't working label Jul 31, 2019
dongsupark pushed a commit to flatcar/torcx that referenced this pull request 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 starts with `user` prefix.

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

@invidian invidian left a comment

Choose a reason for hiding this comment

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

Seems OK

dongsupark pushed a commit to flatcar/torcx that referenced this pull request 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 cb7defb into flatcar-master Aug 1, 2019
@dongsupark dongsupark deleted the dongsu/enable-selinux-sdk branch August 1, 2019 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
2 participants