I have a Linux system (Arch Linux) without SELinux support. I would not like to configure such support on my system.
Now, I have an ext4 volume image which is known to have some SELinux context set on its files. I need to read and change that context for certain files.
When I mount this image and
ls -lZ it, I get a
? instead of context.
How do I access & change SELinux context on files if I don't have SELinux enabled systemwide? If this is impossible, then which is minimal SELinux configuration which will not influence overall system but will allow me to change contexts within a mounted image?