How can I solve the chcon problem ?
when I install the ati video card driver to my system,it's show that:
/usr/bin/chcon: can't apply partial context to unlabeled file /usr/lib/xorg/modules/drivers/fglrx_drv.so' /usr/bin/chcon: can't apply partial context to unlabeled file `/usr/lib/fglrx/fglrx-libGL.so.1.2' ...........and so on. Shall I set some parameter for "/usr/lib/" using "chcon" command ? Please help me. Thanks a lot! |
Quote:
|
restorecon -i -R -n -vv /usr/lib 2>&1| grep -v symbolic
say nothing..... why? |
Hmm. If it would need relabeling it would return something. What does '\ls -alZ /usr/lib/xorg/modules/drivers/ /usr/lib/fglrx/' return? (Find out if this is an unlabeled system.)
|
Quote:
I fixed it. I modify the libselinux-2.0.94-5.2.el6.src.rpm source code,make is_selinux_enabled() function return 0, and then the ati driver installed OK. |
Quote:
|
Quote:
|
OK, let's identify components. I'm sure I've got more questions (bit short on time right now), after you have restored libselinux-2.0.94-5.2.el6, what do the following return:
rpm -q kernel rpm -qa|grep selinux grep -v ^# /etc/selinux/config|grep . /usr/sbin/selinuxenabled; echo $? cat /proc/mounts |
All times are GMT -5. The time now is 04:24 AM. |