I have some sw that installs itself to /opt/whatever/libxyz.so
and not /opt/whatever/lib/libxyz.so, and these library files
are then getting the system_u:object_r:usr_t security context,
I assume this is because the files are not on a /lib/ directory.
setroubleshoot suggests running:
chcon -t textrel_shlib_t /opt/whatever/libxyz.so
on these files, but I'm conserned I will loose this at the
next relabel.
So, what's the procedure for adding own labelling rules? Can
I add them directly to /etc/selinux/targeted/contexts/files/file_contexts,
or should I create a separate file for these ?
And, I see files under /usr/lib/ are lib_t, not textrel_shlib_t.
Is textrel_shlib_t a subset of lib_t, and maybe lib_t what I
should be using ?
-jf
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list