Re: VMware Workstation 6.0.2 on F8: Re-run vmware-config.pl after every reboot

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

 



On Thu, 2007-11-15 at 15:12 -0800, Tom London wrote:
> I've worked around this problem by patching
> '/usr/lib/vmware/net-services.sh' as follows:
> 
> --- 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
> 

That did the trick! Thanks a bunch!

Cheers,

Chris


--
====================================================
In theory there is no difference between theory and practice.
In practice there is.

--Yogi Berra

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux