Re: VMWare on Fedora 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've had VMWare 6.02 running on Rawhide on X86 for quite a while.

Requires a patch to /usr/lib/vmware/net-services.sh to fix a bug it
has with SELinux that makes it ask to rerun 'vmware-config.pl' each
boot:

--- net-services.sh.old 2007-10-01 14:45:51.000000000 -0700
+++ net-services.sh     2007-10-12 10:41:19.000000000 -0700
@@ -258,7 +258,7 @@

 # Determine if SELinux is enabled
 isSELinuxEnabled() {
-   if [ "`cat /selinux/enforce 2> /dev/null`" = "1" ]; then
+   if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled ; then
       echo "yes"
    else
       echo "no"
@@ -616,6 +616,9 @@
    if [ ! -e "$vDevice" ]; then
       mknod -m 600 "$vDevice" c 119 "$vHubNr"
    fi
+   if [ "`isSELinuxEnabled`" = 'yes' ]; then
+      restorecon "$vDevice"
+   fi
 }

 # Create a virtual host ethernet interface and connect it to a virtual


Haven't tested/tried on x64....

tom
-- 
Tom London


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux