You are not logged in.
I installed Arch Linux about a month ago. Most of the time I follow Arch Linux wiki. It was enough for me. Now I need help with SELinux context manipulation. Arch Linux does not come with SELinux. The wiki about SELinux also seems a lot of work to get into. And I thought I can do without SELinux. A few days ago I mounted a Android system partition in my Arch Linux. I tried to know SELinux contexts of files in that disk image. I used "ls -Z". Unfortunately I got no context information. Is there any solution to this?
Last edited by shark193 (2016-07-30 11:26:23)
Offline
You'd need to recompile coreutils with support for selinux. As a workaround, you might be able to just use lsattr to list the raw xattrs on the file. This should effectively give you the same information.
Last edited by falconindy (2016-07-29 12:09:31)
Offline
I have compiled coreuils-selinux from AUR. It worked! Is my system full SELinux ready now? I checked with "getenforce". It returned 'Disabled'.
Offline
I have compiled coreuils-selinux from AUR. It worked! Is my system full SELinux ready now? I checked with "getenforce". It returned 'Disabled'.
There's a ton of programs that need to be compiled with support for SELinux for it to work, not to mention the need for a good working policy. I'm not sure how good/complete the reference policy is in Arch. Read the wiki. I definitely have respect for the Fedora devs for how well they've made the whole thing work over there.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline