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

build_torcx_store: get selinux context included in torcx tarballs #16

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

dongsupark
Copy link
Member

So far build_torcx_store has not included any selinux context in the tarball, because it ran without --selinux option.
Let's add the option to fix that.

This PR should be merged after the PR flatcar-archive/coreos-overlay#55 was merged, and a new Flatcar SDK was released from it.

So far build_torcx_store has not included any selinux context
in the tarball, because it ran without `--selinux` option.
Let's add the option to fix that.
@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
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 fe7a24f into flatcar-master Aug 8, 2019
@dongsupark dongsupark deleted the dongsu/fix-torcx-selinux branch August 8, 2019 15:20
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
2 participants