cosmos72 / fstransform

tool for in-place filesystem conversion (for example from jfs/xfs/reiser to ext2/ext3/ext4) without backup
GNU General Public License v2.0
268 stars 29 forks source link

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

Open GIJack opened 8 months ago

GIJack commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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

gmipf commented 4 weeks ago

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