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

xfs -> ext4 conversion does not transfer SELinux contexts #55

Open
GIJack opened this issue Oct 28, 2023 · 3 comments
Open

xfs -> ext4 conversion does not transfer SELinux contexts #55

GIJack opened this issue Oct 28, 2023 · 3 comments

Comments

@GIJack
Copy link

GIJack commented Oct 28, 2023

xfs -> ext4 conversion does not transfer SELinux contexts

Doing this on RHEL7.

edit:
Apparantly it does not transfer anything in the xattr field.

Plz, pretty please add this feature.

@cosmos72
Copy link
Owner

cosmos72 commented Oct 31, 2023

Yes, I have a pair of suspects.
How can you inspect/modify SELinux contexts from command line? Maybe with lsattr ?

If so, that's the reason: fstransform does not (yet) copy extended attributes, ACL etc

[UPDATE] found, it's ls -Z

@GIJack
Copy link
Author

GIJack commented Nov 1, 2023

Ahh. Thank you for the update. I appreciate your help on such matters.

@gmipf
Copy link

gmipf commented Jun 9, 2024

@cosmos72 Do you have any news regarding SELinux contexts and ACLs? I have a Fedora installation on btrfs which needs to be converted to xfs.

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

3 participants