1 2 Previous Next 20 Replies Latest reply: Mar 4, 2012 1:57 PM by Viperzero RSS

    WMware Workstation 8 breaks Ubuntu

    dcstar Novice

      I started having major problems with my 10.04 Ubuntu system recently with dirty filesystems having to be checked at each boot up slowing things down and I have finally found the culprit - VMware Workstation Version 8 (VMware-Workstation-Full-8.0.0-471780.x86_64.bundle).

       

      The problem is that the VMware install process renames ALL the file links in /etc/rc0.d & /etc/rc6.d. The end result is that Ubuntu no longer shuts down correctly and the system closes before all filesystems are cleanly unmounted.

       

      As an example this is what /etc/rc0.d should have in it:

       

      K20boinc-client
      K20clamav-freshclam
      K20hddtemp
      K20postfix
      K20samba4
      K20xrdp
      K31atieventsd
      K50pcscd
      K74bluetooth
      K80openvpn
      K99policycoreutils
      README
      S10unattended-upgrades
      S15wpa-ifupdown
      S20sendsigs
      S30urandom
      S31umountnfs.sh
      S35networking
      S40umountfs
      S60umountroot
      S90halt

       

      And this is what is is after the VMware install:

       

      K01bluetooth
      K01boinc-client
      K01hddtemp
      K01openvpn
      K01pcscd
      K01policycoreutils
      K01postfix
      K01samba4
      K01vmware-workstation-server
      K01xrdp
      K02atieventsd
      K02vmware
      K05clamav-freshclam
      README
      S01halt
      S01networking
      S01sendsigs
      S01umountfs
      S01umountnfs.sh
      S01umountroot
      S01unattended-upgrades
      S02urandom
      S02wpa-ifupdown

       

      As you can see, the critical digits which determine what order each script is executed in are now totally changed.

       

      Here is what a correct /etc/rc6.d folder should contain:

       

      K20boinc-client
      K20clamav-freshclam
      K20hddtemp
      K20postfix
      K20samba4
      K20xrdp
      K31atieventsd
      K50pcscd
      K74bluetooth
      K80openvpn
      K99policycoreutils
      README
      S10unattended-upgrades
      S15wpa-ifupdown
      S20sendsigs
      S30urandom
      S31umountnfs.sh
      S35networking
      S40umountfs
      S60umountroot
      S90reboot

       

      If you have installed VMware Workstation/Player on your Ubuntu system you may want to check your system for this problem and manually rename the relevant file links (ignore links that do not apply to your system).

        • 1. Re: WMware Workstation 8 breaks Ubuntu
          dcstar Novice

          And once I had manually fixed my scripts, the VMware Player component of this package offers an upgrade that breaks them AGAIN!

           

          I have now had to create a script to rename my /etc/rc0.d & /etc/rc6.d files because VMware Player 4 makes a mess of them.

          • 2. Re: WMware Workstation 8 breaks Ubuntu
            jtech201110141 Enthusiast

            Same thing here. All rc.d -files are messed up by Workstation 8 install. My host is Ubuntu 11.04 64-bit.

            VMWARE, FIX THIS BUG!

             

            rc.d files after Workstation 8 install:

            $ /bin/ls -A1 /etc/rc?.d/
            

             

             

            /etc/rc0.d:
            K01speech-dispatcher
            K01vmware-workstation-server
            K02bluetooth
            K02vmware
            README
            S01halt
            S01networking
            S01sendsigs
            S01umountfs
            S01umountnfs.sh
            S01umountroot
            S01unattended-upgrades
            S02urandom

             

            /etc/rc1.d:
            K01acpi-support
            K01kerneloops
            K01pulseaudio
            K01saned
            K01speech-dispatcher
            K02bluetooth
            README
            S01dns-clean
            S01killprocs
            S01pppd-dns
            S02single

             

            /etc/rc2.d:
            K01vmware-USBArbitrator
            README
            S01binfmt-support
            S01bluetooth
            S01dns-clean
            S01kerneloops
            S01pppd-dns
            S01pulseaudio
            S01rsync
            S01saned
            S01speech-dispatcher
            S01sudo
            S01vmware
            S02acpi-support
            S02vmware-workstation-server
            S03grub-common
            S03ondemand
            S03rc.local
            S50vmware-USBArbitrator

             

            /etc/rc3.d:
            K01vmware-USBArbitrator
            README
            S01binfmt-support
            S01bluetooth
            S01dns-clean
            S01kerneloops
            S01pppd-dns
            S01pulseaudio
            S01rsync
            S01saned
            S01speech-dispatcher
            S01sudo
            S01vmware
            S02acpi-support
            S02vmware-workstation-server
            S03grub-common
            S03ondemand
            S03rc.local
            S50vmware-USBArbitrator

             

            /etc/rc4.d:
            README
            S01binfmt-support
            S01bluetooth
            S01dns-clean
            S01kerneloops
            S01pppd-dns
            S01pulseaudio
            S01rsync
            S01saned
            S01speech-dispatcher
            S01sudo
            S02acpi-support
            S03grub-common
            S03ondemand
            S03rc.local

             

            /etc/rc5.d:
            K01vmware-USBArbitrator
            README
            S01binfmt-support
            S01bluetooth
            S01dns-clean
            S01kerneloops
            S01pppd-dns
            S01pulseaudio
            S01rsync
            S01saned
            S01speech-dispatcher
            S01sudo
            S01vmware
            S02acpi-support
            S02vmware-workstation-server
            S03grub-common
            S03ondemand
            S03rc.local
            S50vmware-USBArbitrator

             

            /etc/rc6.d:
            K01speech-dispatcher
            K01vmware-workstation-server
            K02bluetooth
            K02vmware
            README
            S01networking
            S01reboot
            S01sendsigs
            S01umountfs
            S01umountnfs.sh
            S01umountroot
            S01unattended-upgrades
            S02urandom

             

            /etc/rcS.d:
            README
            S01apparmor
            S01brltty
            S01x11-common
            S02pcmciautils
            S02urandom

             

            rc.d -files before Workstation 8 install:

             

            /etc/rc0.d:

            K20speech-dispatcher

            K74bluetooth

            README

            S10unattended-upgrades

            S20sendsigs

            S30urandom

            S31umountnfs.sh

            S35networking

            S40umountfs

            S60umountroot

            S90halt

             

            /etc/rc1.d:

            K15pulseaudio

            K20acpi-support

            K20kerneloops

            K20saned

            K20speech-dispatcher

            K74bluetooth

            README

            S30killprocs

            S70dns-clean

            S70pppd-dns

            S90single

             

            /etc/rc2.d:

            README

            S20kerneloops

            S20speech-dispatcher

            S25bluetooth

            S50pulseaudio

            S50rsync

            S50saned

            S70dns-clean

            S70pppd-dns

            S75sudo

            S90binfmt-support

            S99acpi-support

            S99grub-common

            S99ondemand

            S99rc.local

             

            /etc/rc3.d:

            README

            S20kerneloops

            S20speech-dispatcher

            S25bluetooth

            S50pulseaudio

            S50rsync

            S50saned

            S70dns-clean

            S70pppd-dns

            S75sudo

            S90binfmt-support

            S99acpi-support

            S99grub-common

            S99ondemand

            S99rc.local

             

            /etc/rc4.d:

            README

            S20kerneloops

            S20speech-dispatcher

            S25bluetooth

            S50pulseaudio

            S50rsync

            S50saned

            S70dns-clean

            S70pppd-dns

            S75sudo

            S90binfmt-support

            S99acpi-support

            S99grub-common

            S99ondemand

            S99rc.local

             

            /etc/rc5.d:

            README

            S20kerneloops

            S20speech-dispatcher

            S25bluetooth

            S50pulseaudio

            S50rsync

            S50saned

            S70dns-clean

            S70pppd-dns

            S75sudo

            S90binfmt-support

            S99acpi-support

            S99grub-common

            S99ondemand

            S99rc.local

             

            /etc/rc6.d:

            K20speech-dispatcher

            K74bluetooth

            README

            S10unattended-upgrades

            S20sendsigs

            S30urandom

            S31umountnfs.sh

            S35networking

            S40umountfs

            S60umountroot

            S90reboot

             

            /etc/rcS.d:

            README

            S13pcmciautils

            S25brltty

            S37apparmor

            S55urandom

            S70x11-common

            • 3. Re: WMware Workstation 8 breaks Ubuntu
              jtech201110141 Enthusiast

              Just made an bug report for mdunn-vmware and JJoel42.

              • 4. Re: WMware Workstation 8 breaks Ubuntu
                JJoel42 Hot Shot VMware Employees

                We are looking at this now!

                • 5. Re: WMware Workstation 8 breaks Ubuntu
                  jkl201110141 Lurker

                  Perhaps the problem is that the installer uses insserv instead of update-rc.d. See:

                   

                  https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/811675

                   

                  In any case, please update this thread when the problem is fixed.

                  • 6. Re: WMware Workstation 8 breaks Ubuntu
                    jkl201110141 Lurker

                    Having looked at this further, it is almost certainly the case that the problem is with insserv. While the installer is waiting for a response, you can look at the installer files and confirm that it uses insserv. In particular, look at the file

                     

                    /tmp/vmis.XXXXXX/install/vmware-installer/bin/configure-initscript.sh

                     

                    The XXXXXX part is random.

                     

                    It is true that insserv should not be behaving as badly as it does, but in any case the VMWare installer should not be using insserv on Debian/Ubuntu systems. The policy manual explicitly states that update-rc.d is the right tool for manipulating init scripts.

                     

                    http://www.debian.org/doc/debian-policy/ch-opersys.html

                     

                    Until VMWare fixes this, I suggest the following workaround for users:

                     

                    Rename /sbin/insserv to /sbin/insserv.bak (or something). This will prevent it from being found, and the installer will fall back to using update-rc.d like it should. It might be a good idea to keep it like that, to prevent other installers from doing the same thing.

                    • 7. Re: WMware Workstation 8 breaks Ubuntu - but rename insserv works!
                      fossol Lurker

                      Ubuntu 11.10 Kernel 3.0.0-12-generic

                      VMware 8.0.0-471780

                       

                      I took your advice and renamed insserv and the install went flawlessly. Up and running!

                      • 8. Re: WMware Workstation 8 breaks Ubuntu
                        Enthusiast

                        I can also confirm that this appears to be the best viable workaround for the time being.  It worked when I tested it out on 11.10 GA 64bit with top of tree WS.

                        • 9. Re: WMware Workstation 8 breaks Ubuntu
                          gregVM Novice

                          Any progress on getting this fixed? <bump>

                          • 10. Re: WMware Workstation 8 breaks Ubuntu
                            dcstar Novice

                            Still broken in the Player 4.0.1 release, very dissapointing that VMWare has not fixed this by now.

                            • 11. Re: WMware Workstation 8 breaks Ubuntu
                              dariusd Virtuoso VMware Employees User Moderators

                              Hi dcstar,

                               

                              Do you have a /usr/sbin/update-rc.d or another update-rc.d in root's $PATH?

                               

                              Workstation 8.0.1 (and Player 4.0.1) were expected to have addressed this issue by preferring the use of update-rc.d over insserv, but we will still fall back to insserv if update-rc.d is unavailable.

                               

                              Thanks,

                              --

                              Darius

                              • 12. Re: WMware Workstation 8 breaks Ubuntu
                                dcstar Novice

                                Yep:

                                root@dc-master:/home/dc# echo $PATH
                                /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
                                root@dc-master:/home/dc# locate update-rc.d
                                /usr/sbin/update-rc.d
                                /usr/sbin/update-rc.d-insserv

                                ........

                                root@dc-master:/usr/sbin# ls -la update-rc.d*
                                -rwxr-xr-x 1 root root 16347 2011-06-10 05:46 update-rc.d
                                -rwxr-xr-x 1 root root 17105 2009-11-05 19:37 update-rc.d-insserv

                                 

                                Interestingly on my Ubuntu 10.04.3 system update-rc.d has a MIME Type of "text/x-dsrc" even though it contains PERL code. update-rc.d-insserv seems to be correctly listed as "application/x-perl".

                                 

                                Actually I noticed that the upgrade to 4.0.1 did a full uninstall before it installed, did the code in the uninstall procedure stuff up my RC scripts before the install (that is supposed to now work correctly) ran? One hopes the same fixes in the 4.0.1 install code were also used in the 4.0.0 uninstall, otherwise if the same old 4.0.0 code that ruined the start order of my scripts was used in the uninstall then chances are it will again cause damage to any system with an existing install.

                                 

                                Anyhow, I have now (again) manually fixed my rc.0, rc.2, rc.6 & rc.S scripts and await the next VMware Workstation release to see if it buggers them up again.

                                • 13. Re: WMware Workstation 8 breaks Ubuntu
                                  dcstar Novice

                                  I have just created a fresh Ubuntu 10.04.3 test system and installed Player 4.0.1 and it did install correctly without changing the rc. scripts.

                                   

                                  The upgrade from 4.0.0 must still have used the bad code when doing the uninstall.

                                  • 14. Re: WMware Workstation 8 breaks Ubuntu
                                    dariusd Virtuoso VMware Employees User Moderators

                                    Hi dcstar,

                                     

                                    Cool, thanks for posting back with that update.  I'm glad to hear it's resolved for you and sorry for the trouble this has caused!

                                     

                                    Cheers,

                                    --

                                    Darius

                                    1 2 Previous Next