Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173752 - app-emulation/vmware-server - wrapper init.d script treats the shutting down guest virtual machines as misconfigruation
Summary: app-emulation/vmware-server - wrapper init.d script treats the shutting down ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-08 10:41 UTC by Boris Figovsky
Modified: 2007-04-29 14:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Figovsky 2007-04-08 10:41:20 UTC
I launch my guest virtual machine with /etc/init.d/vmware start
and it works correct.
But when I turn them off, the init.d script says my VMWare isn't configured.
The actual vmware initscript (/etc/vmware/init.d/vmwware) works correctly as intended,
but the wrapper initscript (/etc/init.d/vmware) does not.

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/vmware start and start some virtual machine if the init.d script didn't do so
2. /etc/init.d/vmware stop


Actual Results:  
root@otera ~ # /etc/init.d/vmware stop
Password:
 * Stopping VMware virtual machines...
 * Stopping VMware services:
 * Virtual machine monitor                                             done
 * Bridged networking on /dev/vmnet0                                   done
 * DHCP server on /dev/vmnet1                                          done
 * Host-only networking on /dev/vmnet1                                 done
 * DHCP server on /dev/vmnet8                                          done
 * NAT service on /dev/vmnet8                                          done
 * Host-only networking on /dev/vmnet8                                 done
 * Virtual ethernet                                                    done
 * VMware is not properly configured! See above.                                                                                                      [ !! ]


Expected Results:  
root@otera ~ # /etc/init.d/vmware stop
 * Stopping VMware services:                                                                                                                          [ ok ]
 *   Virtual machine monitor                                                                                                                          [ ok ]
 *   Bridged networking on /dev/vmnet0                                                                                                                [ ok ]
 *   DHCP server on /dev/vmnet1                                                                                                                       [ ok ]
 *   Host-only networking on /dev/vmnet1                                                                                                              [ ok ]
 *   DHCP server on /dev/vmnet8                                                                                                                       [ ok ]
 *   NAT service on /dev/vmnet8                                                                                                                       [ ok ]
 *   Host-only networking on /dev/vmnet8                                                                                                              [ ok ]
 *   Virtual ethernet                                                                                                                                 [ ok ]


This happens with app-emulation/vmware-server-1.0.2.39867 on both my Gentoo 
~x86s (Intel P4 and Intel P3M)
I tend to blame the /etc/init.d/vmware initscript for the bug, its header is:
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/files/vmware-server.rc,v 1.2 2007/03/07 17:45:00 wolf31o2 Exp $

otera ~ # emerge --info
Portage 2.1.2.3 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r5 i686)
=================================================================
System uname: 2.6.20-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 08 Apr 2007 05:20:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11 /etc/bash /etc/bash_completion.d /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gimp /etc/gtk /etc/gtk-2.0 /etc/hal /etc/hotplug /etc/init.d /etc/java-config/vms/ /etc/modules.d /etc/pam.d /etc/revdep-rebuild /etc/skel /etc/ssl /etc/terminfo /etc/texmf /etc/texmf/web2c /etc/udev /etc/vim /etc/wget /usr/kde/3.5/share/config"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amr bash-completion bidi bitmap-fonts cli cracklib crypt css dts dvd dvdr dvdread enca encode ffmpeg flac fortran gif glitz iconv isdnlog ithreads jpeg kde kdeenablefinal libg++ logrotate lzo mad matrox midi mikmod mmap mmx mng modplug mp3 musepack network nls nonfsv4 nptl nptlonly nsplugin ogg openal opengl pam pcre png ppds pppd qt3 quicktime readline real reflection rtc sdl session speex spl sse sse2 ssl tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode vcd vorbis wavpack win32codecs x86 xanim xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-04-09 17:51:49 UTC
Hi Boris, I've fixed up the offending vmware-server.rc.  I'm marking this as fixed, but please wait a couple of hours, resync, rebuild vmware-server and then give it a test.  If there are any issues, please reopen the bug and report them here...  5:)
Comment 2 Boris Figovsky 2007-04-14 10:24:29 UTC
New vmware-server.rc indeed works.
I tested with app-emulation/vmware-server-1.0.2.39867
Comment 3 Mike Auty (RETIRED) gentoo-dev 2007-04-29 14:39:48 UTC
Reopening bug to mark as resolved for housekeeping.