PDA

View Full Version : VMWare (5.5.1 Build 19175) and SELinux fix


cybrjackle
10th January 2006, 01:39 PM
If you have problems with vmware in rawhide because of SELinux.

Problem:

/usr/lib/vmware/bin/vmware: error while loading shared
libraries: /usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0:
cannot restore segment prot after reloc: Permission denied


Fix:

# chcon system_u:object_r:texrel_shlib_t \
/usr/lib/vmware/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0

cybrjackle
23rd January 2006, 01:05 PM
The selinux context is incorrect in flash too.

ls -Z
-rwxr-xr-x justin justin user_u:object_r:user_home_t
flashplayer.xpt
-rwxr-xr-x justin justin user_u:object_r:user_home_t libflashplayer.so

Changed to

chcon system_u:object_r:texrel_shlib_t flashplayer.xpt libflashplayer.so

ls -Z
-rwxr-xr-x justin justin system_u:object_r:textrel_shlib_t flashplayer.xpt
-rwxr-xr-x justin justin system_u:object_r:textrel_shlib_t libflashplayer.so