fstransform icon indicating copy to clipboard operation
fstransform copied to clipboard

xfs -> ext4 conversion does not transfer SELinux contexts

Open NetworkJack2 opened this issue 2 years ago • 3 comments

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.

NetworkJack2 avatar Oct 28 '23 00:10 NetworkJack2

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

cosmos72 avatar Oct 31 '23 23:10 cosmos72

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

NetworkJack2 avatar Nov 01 '23 23:11 NetworkJack2

@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.

gmipf avatar Jun 09 '24 12:06 gmipf