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

Add SELinux secontext handling when packing the rootfs . #833

Open
rsiddoji opened this issue Sep 11, 2024 · 1 comment
Open

Add SELinux secontext handling when packing the rootfs . #833

rsiddoji opened this issue Sep 11, 2024 · 1 comment

Comments

@rsiddoji
Copy link

Hi team ,
Current krikstone branch code when handling rootfs folder for creating ostree based rootfs folder its not considering selinux .
Following is the patch that will try to pass selinux option to tar utility .
If the rootfs is already labeled with selinux it will preserve the labels else it will be NOP (https://www.gnu.org/software/tar/manual/tar.html)
Can you please help to get this review and help us on how we can merge this change .

Attaching the single line changes

0001-RFC-meta-updater-adding-selinux-support-for-in-packi.patch

Regards,
Ravi.,

@ricardosalveti
Copy link
Contributor

Please propose the same change as a pull request against https://github.com/uptane/meta-updater instead (master first then as a backport once merged). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants