Hi All ,
I am trying to get the SELINUX on one of our evaluation boards (MIPS based). The SDK running is custom makefile based & kernel is linux-4.9 series.
1) To get the selinux , i have enabled the kernel configuration w.r.t SELINUX I can see the entry created under /sys folder ~ # ls /sys/fs/selinux/
2) But when i run command of selinux like selinuxenabled , i am getting Error message of : selinuxenabled: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
But i can see the library at /lib folder ~ # find / -name libselinux ~ # find / -name 'libselinux*' /lib/libselinux.so /lib/libselinux.so.1
Can members please provide any input as to which package is missing here or probable areas to look to solve the problem. Idea was to build a selinux setup
Thanks , Ashish
Updating the thread in case it can help for other member After the kernel config option if we run the selinux command we get the above mentioned observation.
For this , we need to add https://github.com/SELinuxProject/selinux files on our rootfs
After this refpolicy might be picked up
Thanks Ashish
selinux@lists.fedoraproject.org