Hello community, here is the log from the commit of package open-vm-tools.1558 for openSUSE:12.3:Update checked in at 2013-04-15 09:38:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/open-vm-tools.1558 (Old) and /work/SRC/openSUSE:12.3:Update/.open-vm-tools.1558.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-vm-tools.1558", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:12.3:Update/.open-vm-tools.1558.new/open-vm-tools.changes 2013-04-15 09:38:20.000000000 +0200 @@ -0,0 +1,858 @@ +------------------------------------------------------------------- +Wed Apr 3 18:26:54 UTC 2013 - dims...@opensuse.org + +- Update to version 9.2.0: + + Fixes for HGFS driver to compile on newer kernels (3.6). + + vmsync driver is disabled on kernels 3.0+ as vmbackup plugin + uses FIFREEZE/FITHAW standard ioctls. + + Fixes for Copy/Paste (and C&P is temporarily disabled on + Solaris due to C++ library issues). +- Rebase open-vm-tools-kernel-3.6.patch: mostly fixed upstream. +- No longer build vmblock.ko: it's been obsoleted in favor of + vmblock-fuse. +- Change vmtoolsd to use vmware-vmblock-fuse instead of vmblock.ko, + using the new mount point /var/run/vmblock-fuse. +- Add fuse Requires, as we now use vmblock-fuse. +* Fixes bnc#803157. + +------------------------------------------------------------------- +Sat Mar 2 08:16:26 UTC 2013 - co...@suse.com + +- update license to new format + +------------------------------------------------------------------- +Fri Oct 12 08:19:01 UTC 2012 - dims...@opensuse.org + +- Update to version 9.2.0: + + Release of open-vm-tools matching Workstation 9.0. +- Drop kernel-3_4.patch: fixed upstream. +- Add open-vm-tools-kernel-3.6.patch: Fix build with kernel 3.6. +- Add pkgconfig(fuse) BuildRequires: Support vmhgfs fuse. + +------------------------------------------------------------------- +Sat Aug 4 10:45:41 UTC 2012 - dims...@opensuse.org + +- autostart-wrapper: unset SESSION_MANAGER. This helps newer + gnome-session versions to not try to track this task. Due to the + double fork() it gets it wrong and delays logout (waiting for a + timeout to terminate this user task) (bgo#681904). + +------------------------------------------------------------------- +Fri Jun 8 12:04:35 UTC 2012 - jreidin...@suse.com + +- Add kernel-3_4.patch: Fix build for kernel-3.4. + +------------------------------------------------------------------- +Fri Apr 6 21:18:39 UTC 2012 - dims...@opensuse.org + +- Update to version 8.8.2: + + Updated code for compatibility with newer Linux kernel + releases. + + Minor tweaks in Unity and Resolution set plugins +- Drop vmhgfs-2011.12.20.patch: fixed upstream. + +------------------------------------------------------------------- +Fri Mar 30 21:02:32 UTC 2012 - dims...@opensuse.org + +- Build vmci as first module and copy Modules.symvers to source of + all subsequent modules to be built. Fixes issues where vmhgfs for + example does not have all symbols available and fails to load + [bnc#703959]. + +------------------------------------------------------------------- +Fri Mar 30 20:02:49 UTC 2012 - dims...@opensuse.org + +- Add a tools.conf to the package. All settings are left to default + except [guestinfo] / disable-perf-mon=1, which resolves + bnc#698181. + +------------------------------------------------------------------- +Thu Mar 15 13:56:41 UTC 2012 - prus...@opensuse.org + +- added call to vmware-rpctool in %preun to unset the installed + version [bnc#748517] + +------------------------------------------------------------------- +Sun Feb 5 15:07:36 UTC 2012 - dims...@opensuse.org + +- Add vmhgfs-2011.12.20.patch: Fix build of vmhgfs module with + kernel 3.2. +- Update FSF address part in vmtoolsd header. + +------------------------------------------------------------------- +Tue Jan 24 15:53:36 UTC 2012 - prus...@opensuse.org + +- Update to version 8.8.1 (Stable series): + * Updated code for compatibility with newer Linux kernel releases + and with newer NetworkManager releases. +- dropped vmxnet+kernel-3.0 (not needed anymore) +- build with PIE [bnc#743130] + +------------------------------------------------------------------- +Wed Sep 21 20:34:59 UTC 2011 - dims...@opensuse.org + +- Update to version 8.8.0 (Stable series): + + This release of open-vm-tools matches the VMware Tools package + released with Workstation 8.0 and Fusion 4.0. + It's targeted at desktop users who want the latest features in + (VMware's) Unity, HGFS and drag & drop support. +- Add open-vm-tools-vmxnet+kernel-3.0.patch: HAVE_NETDEV_PRIV is + gone in kernel 3.0 and netdev_priv is in kernel since 2.6.6. +- use set_permissions instead of run_permissions on 11.4+ + +------------------------------------------------------------------- +Thu Jul 21 00:36:27 UTC 2011 - dims...@opensuse.org + +- Update to version 2011.07.19: + + Fix an issue in the HGFS driver that could lead to a kernel + panic. + + Update some code to support new compiler and kernel versions. + + Minor bug fixes and code cleanup. +- Changes from version 2011.06.27: + + A few enhancements to Unity: XFCE support, better interaction + with "the other" (Ubuntu's) Unity and compositing window + managers, better X error handling, and a few bug fixes. + + few bug fixes in HGFS, and minor bug fixes in other components. + + Otherwise, mostly code cleanup. + +------------------------------------------------------------------- +Thu Jun 2 13:13:04 UTC 2011 - prus...@opensuse.org + +- updated to 2011.05.27: + + Mostly cleanups and a few bug fixes. +- fixes [bnc#673267] [bnc#690491] + +------------------------------------------------------------------- +Tue May 31 09:56:55 UTC 2011 - prus...@opensuse.org + +- use -Wno-unused-but-set in optflags so it will not fail build + while using -Werror + +------------------------------------------------------------------- +Wed May 25 14:30:41 UTC 2011 - prus...@opensuse.org + +- added check in initscript whether VMTOOLSUSER_BIN exists + +------------------------------------------------------------------- +Fri Apr 29 16:08:33 UTC 2011 - dims...@opensuse.org + +- Udpate to version 2011.04.25: + + Mostly cleanups and small bug fixes in this release. + + Logging is enabled by default in vmtoolsd, writing to syslog. + The default log level is not chatty, so few messages should + make it to syslog during normal operation. + + The GUI version of the toolbox was removed. + +------------------------------------------------------------------- +Wed Apr 27 08:58:46 UTC 2011 - dims...@opensuse.org + +- Extend the init script to detect the name of the balloon driver, + which changed several times in the kernel. + +------------------------------------------------------------------- +Thu Apr 14 19:35:44 UTC 2011 - dims...@opensuse.org + +- Update to 2011.03.28: + + HGFS mounter and vmusr's suid wrapper were changed to avoid + issues with symlink attacks. A new mount utility for vmblock on + Solaris and FreeBSD was added. + + The VMCI driver was thoroughly reworked so that it can serve as + both the host and guest VMCI driver. This is mostly targeted at + supporting nested VMs. + + vmusr got better integration with X's session manager, + including proper cleanup during session teardown. + + Unity has been enhanced to better handle some desktop + environments. + + Many small bug fixes in other areas, including updates for + newer Linux kernels. +- Changes from 2011.02.23: + + Some copy & paste issues with KDE were fixed. + + Mostly cleanups and bug fixes, with a few build enhancements. +- Changes from 2011.01.24: + + Mostly cleanups and bug fixes. + + Install code fixed to handle translation catalogs correctly. +- No longer care for missing modules on openSUSE 11.2. It is EOL in + a few weeks. As a consequence, remove the sources (they are in + current kernels): + + pvscsi.tar.bz2 + + vmxnet3.tar.bz2 + + vmemctl.tar.bz2 +- Fix some lint warnings: obsolete only <, not <=, Add PreReq: + permissions to the -gui package. + +------------------------------------------------------------------- +Thu Apr 14 16:30:29 UTC 2011 - dims...@opensuse.org + +- Fix build with Factory: verify the list of modules that are not + yet merged into the main kernel. + +------------------------------------------------------------------- +Wed Dec 22 08:29:03 UTC 2010 - dims...@opensuse.org + +- Update to version 2010.12.19: + + New version of DnD code lands in open-vm-tools. The host part + of the new DnD protocol is not available yet in VMware + products, though. + + vmtoolsd gets some new functionality to support new features + being developed internally. ++++ 661 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.open-vm-tools.1558.new/open-vm-tools.changes New: ---- open-vm-tools-9.2.2-893683.tar.gz open-vm-tools-kernel-3.6.patch open-vm-tools-modprobe.conf open-vm-tools.changes open-vm-tools.permissions open-vm-tools.spec preamble tools.conf vmtoolsd vmware-user-autostart-wrapper vmware-user-autostart.desktop ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-vm-tools.spec ++++++ # # spec file for package open-vm-tools # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554] %define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep -v pci:v00001022d00002000' %if 0%{?suse_version} <= 1210 # Modules to be built up to openSUSE 12.1, possibly not building on newer versions. %define vm_modules1210 vmxnet %endif # Modules that have to be build up to version 12.2 (Last checked on 2012-02-05 with kernel 3.2.0) %define vm_modules vmci vmhgfs vmsync vsock %{?vm_modules1210} # X modules are lower prio upstream and once in a while fail. Offer an easy way to enable/disable them. %define with_X 1 Name: open-vm-tools Version: 9.2.2 Release: 0 %define svn_rev 893683 Summary: Open Virtual Machine Tools License: BSD-3-Clause and GPL-2.0 and LGPL-2.1 Group: System/Emulators/PC Url: http://open-vm-tools.sourceforge.net/ Source: http://sourceforge.net/projects/open-vm-tools/files/open-vm-tools/stable-9.2.x/%{name}-%{version}-%{svn_rev}.tar.gz Source1: vmtoolsd Source2: vmware-user-autostart.desktop Source4: open-vm-tools.permissions Source5: vmware-user-autostart-wrapper Source6: open-vm-tools-modprobe.conf Source7: tools.conf Source98: preamble Patch0: open-vm-tools-kernel-3.6.patch BuildRequires: gcc-c++ # don't use pkgconfig(gtk+-2.0) so we can build on SLE BuildRequires: gtk2-devel BuildRequires: gtkmm2-devel BuildRequires: kernel-source BuildRequires: kernel-syms BuildRequires: libdnet-devel BuildRequires: libicu-devel BuildRequires: module-init-tools BuildRequires: pcre-devel BuildRequires: update-desktop-files BuildRequires: xorg-x11-devel BuildRequires: pkgconfig(fuse) BuildRoot: %{_tmppath}/%{name}-%{version}-build # liburiparser was not present before 11.0 %if 0%{?suse_version} >= 1100 BuildRequires: liburiparser-devel %endif BuildRequires: pam-devel Requires: vmware-guest-kmp # In order to have access to vmblock-fuse, we do require fuse Requires: fuse Supplements: modalias(pci:v000015ADd*sv*sd*bc*sc*i*) Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq Requires(pre): permissions ExclusiveArch: %ix86 x86_64 %suse_kernel_module_package -n vmware-guest -p %{SOURCE98} xen um %description Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user experience of virtual machines. As virtualization technology rapidly becomes mainstream, each virtualization solution provider implements their own set of tools and utilities to supplement the guest virtual machine. However, most of the implementations are proprietary and are tied to a specific virtualization platform. With the Open Virtual Machine Tools project, we are hoping to solve this and other related problems. The tools are currently composed of kernel modules for Linux and user-space programs for all VMware supported Unix-like guest operating systems. They provide several useful functions like: * File transfer between a host and guest * Improved memory management and network performance under virtualization * General mechanisms and protocols for communication between host and guests and from guest to guest %package -n vmware-guest-KMP Summary: Open Virtual Machine Tools - for VM GUESTS Group: System/Emulators/PC %description -n vmware-guest-KMP Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user experience of virtual machines. As virtualization technology rapidly becomes mainstream, each virtualization solution provider implements their own set of tools and utilities to supplement the guest virtual machine. However, most of the implementations are proprietary and are tied to a specific virtualization platform. With the Open Virtual Machine Tools project, we are hoping to solve this and other related problems. The tools are currently composed of kernel modules for Linux and user-space programs for all VMware supported Unix-like guest operating systems. They provide several useful functions like: * File transfer between a host and guest * Improved memory management and network performance under virtualization * General mechanisms and protocols for communication between host and guests and from guest to guest %if %{with_X} %package gui Summary: Open Virtual Machine Tools - GUI Group: System/Emulators/PC Requires: open-vm-tools Supplements: packageand(open-vm-tools:xorg-x11) Requires(pre): permissions %description gui GUI Toolbox for Open Virtual Machine Tools %endif %package -n libvmtools0 Summary: Open Virtual Machine Tools - shared library Group: System/Libraries %description -n libvmtools0 This is a shared library used by several Open VM Tools components, such as vmware-toolbox-cmd and vmtoolsd (and its plugins). %package -n libvmtools-devel Summary: Open Virtual Machine Tools - Development headers Group: Development Requires: libvmtools0 = %{version} %description -n libvmtools-devel Those are the development headers for libvmtools. They are needed if you intend to create own plugins for vmtoolsd. %prep %setup -q -n %{name}-%{version}-%{svn_rev} %if 0%{?suse_version} > 1220 %patch0 -p1 %endif chmod -x AUTHORS COPYING ChangeLog NEWS README # fix for an rpmlint warning regarding wrong line feeds sed -i -e "s/\r//" README %build # disable warning unused-but-set-variable which will raise error because of -Werror # disable warning deprecated-declarations which will raise error because of -Werror # (this is because of 'g_static_mutex_init' usage which is now deprecated) %if 0%{?suse_version} > 1110 export CFLAGS="%{optflags} -Wno-unused-but-set-variable -Wno-deprecated-declarations -fPIE" export CPPFLAGS="%{optflags} -Wno-unused-but-set-variable -Wno-deprecated-declarations -fPIE" %else export CFLAGS="%{optflags} -Wno-deprecated-declarations -fPIE" export CPPFLAGS="%{optflags} -Wno-deprecated-declarations -fPIE" %endif export LDFLAGS="-pie" # comments in a continued line seem not to work... shame # --disable-unity : liburiparser was not present before 11.0 %configure \ %if 0%{?suse_version} < 1140 --disable-unity \ %endif --without-kernel-modules \ --without-root-privileges \ --without-procps \ %if %{with_X} --with-x \ %else --without-x \ %endif --disable-dependency-tracking \ --disable-static make TOPDIR=$PWD cd .. mkdir -p obj for flavor in %{flavors_to_build}; do rm -rf obj/$flavor cp -r %{name}-%{version}-%{svn_rev} obj/$flavor pushd obj/$flavor for module in %{vm_modules}; do pushd modules/linux/$module if [ -f ../vmci/Module.symvers ]; then cp ../vmci/Module.symvers . fi make -C /usr/src/linux-obj/%{_target_cpu}/$flavor modules M=$PWD VM_CCVER=$(gcc -dumpversion) HEADER_DIR="/usr/src/linux-obj/$(uname -i)/default/include" SRCROOT=$PWD OVT_SOURCE_DIR=$TOPDIR popd done popd done %install # let's use the kernel's own modules_install routine export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates pushd .. for flavor in %{flavors_to_build}; do pushd obj/$flavor for module in %{vm_modules}; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD/modules/linux/$module done popd done popd # fix some rights on the kernel modules, to have a complete -debuginfo package chmod u+x %{buildroot}/lib/modules/*/updates/* %if 0%{?suse_version} > 1110 %make_install %else %makeinstall %endif # Clean up the *.la files make install put all around find %{buildroot} -name '*.la' -delete -print # install the vmtoolsd init script and also it's rcvmtoolsd softlink install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/vmtoolsd ln -sf ../../etc/init.d/vmtoolsd %{buildroot}%{_sbindir}/rcvmtoolsd %if %{with_X} # vmware-user is started by vmware-user-suid-wrapper by xdg-autostart # unfortunately, vmware-user-suid-wrapper does not wait for it's block device # to appear. For this reason we have now a vmware-user-autostart-wrapper # which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper install -D -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/vmware-user-autostart-wrapper install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop # Install the default tools.conf install -D -m 0644 %{S:7} %{buildroot}%{_sysconfdir}/vmware-tools/tools.conf # In case we install vmware-user-suid-wrapper, we need to give it 4755 permissions. #install -D -m 0644 %%{S:4} %%{buildroot}%%{_sysconfdir}/permissions.d/open-vm-tools # We have our own 'safe' autostart wrapper, which checks for modules to start in autologin mode... # Thus we drop the 'original' autostartup rm %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user.desktop # handle the .destop files for translations %suse_update_desktop_file vmware-user-autostart %endif # modprobe configuration for vmnics. install -D -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/modprobe.d/50-vmnics.conf # fix a link pointing to the buildroot for mount.vmhgfs ( cd %{buildroot}/sbin; rm mount.vmhgfs; ln -s ..%{_sbindir}/mount.vmhgfs ) # the script installs some binaries into /usr/share/open-vm-tools which are just some tests. # So we drop them for the moment. Upstream has been informed about this. rm -r %{buildroot}%{_datadir}/%{name} %post %if 0%{?suse_version} <= 1130 %run_permissions %else %set_permissions /usr/bin/vmware-user-suid-wrapper %endif /sbin/ldconfig %{fillup_and_insserv -Y vmtoolsd} %if %{with_X} %verifyscript gui %verify_permissions -e /usr/bin/vmware-user-suid-wrapper %post gui %if 0%{?suse_version} <= 1130 %run_permissions %else %set_permissions /usr/bin/vmware-user-suid-wrapper %endif %endif %preun # stop service with the old name (if exists) on update (something like %%stop_on_update) test -n "$FIRST_ARG" || FIRST_ARG=$1 if test "$FIRST_ARG" -ge 1 ; then test -f /etc/sysconfig/services && . /etc/sysconfig/services if test "$YAST_IS_RUNNING" != "instsys" ; then /etc/init.d/vmware-guestd stop &> /dev/null || : fi fi %stop_on_removal vmtoolsd vmware-rpctool "tools.set.version 0" || : %postun %restart_on_update vmtoolsd %insserv_cleanup /sbin/ldconfig %post -n libvmtools0 -p /sbin/ldconfig %postun -n libvmtools0 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/vmtoolsd %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %dir %{_libdir}/%{name}/plugins/common %dir %{_libdir}/%{name}/plugins/vmsvc %if %{with_X} %dir %{_libdir}/%{name}/plugins/vmusr %endif %{_libdir}/%{name}/plugins/vmsvc/libguestInfo.so %{_libdir}/%{name}/plugins/vmsvc/libpowerOps.so %{_libdir}/%{name}/plugins/vmsvc/libtimeSync.so %{_libdir}/%{name}/plugins/vmsvc/libvmbackup.so %{_libdir}/%{name}/plugins/common/libhgfsServer.so %{_libdir}/%{name}/plugins/common/libvix.so %{_bindir}/vmware-checkvm %{_bindir}/vmware-hgfsclient %{_bindir}/vmware-rpctool %{_bindir}/vmware-toolbox-cmd %{_bindir}/vmware-vmblock-fuse %{_bindir}/vmware-xferlogs %{_sbindir}/mount.vmhgfs /sbin/mount.vmhgfs %config(noreplace) %{_sysconfdir}/pam.d/vmtoolsd %dir %{_sysconfdir}/vmware-tools %dir %{_sysconfdir}/vmware-tools/scripts %dir %{_sysconfdir}/vmware-tools/scripts/vmware %{_sysconfdir}/vmware-tools/poweroff-vm-default %{_sysconfdir}/vmware-tools/poweron-vm-default %{_sysconfdir}/vmware-tools/resume-vm-default %{_sysconfdir}/vmware-tools/scripts/vmware/network %{_sysconfdir}/vmware-tools/statechange.subr %{_sysconfdir}/vmware-tools/suspend-vm-default %config(noreplace) %{_sysconfdir}/vmware-tools/tools.conf %{_sysconfdir}/vmware-tools/vm-support %{_sysconfdir}/init.d/vmtoolsd %{_sysconfdir}/modprobe.d/50-vmnics.conf %{_sbindir}/rcvmtoolsd %exclude %{_libdir}/*.so %if %{with_X} %files gui %defattr(-, root, root) %{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop %verify(not mode) %attr(0755,root,root) %{_bindir}/vmware-user-suid-wrapper %{_libdir}/%{name}/plugins/vmusr/libdesktopEvents.so %{_libdir}/%{name}/plugins/vmusr/libdndcp.so %{_libdir}/%{name}/plugins/vmusr/libresolutionSet.so %{_bindir}/vmware-user-autostart-wrapper %endif %files -n libvmtools0 %defattr(-, root, root) %{_libdir}/libvmtools.so.* %{_libdir}/libguestlib.so.* %{_libdir}/libhgfs.so.* %files -n libvmtools-devel %defattr(-,root,root) %{_includedir}/vmGuestLib %{_libdir}/*.so %{_libdir}/pkgconfig/vmguestlib.pc %changelog ++++++ open-vm-tools-kernel-3.6.patch ++++++ Index: open-vm-tools-9.2.2-893683/modules/linux/vmsync/sync.c =================================================================== --- open-vm-tools-9.2.2-893683.orig/modules/linux/vmsync/sync.c +++ open-vm-tools-9.2.2-893683/modules/linux/vmsync/sync.c @@ -162,7 +162,7 @@ VmSyncThawDevices(void *_state) // IN cancel_delayed_work(&state->thawTask); list_for_each_safe(cur, tmp, &state->devices) { dev = list_entry(cur, VmSyncBlockDevice, list); - if (dev->sb != NULL && dev->sb->s_frozen != SB_UNFROZEN) { + if (dev->sb != NULL && dev->sb->s_writers.frozen != SB_UNFROZEN) { thaw_bdev(dev->bdev, dev->sb); atomic_dec(&gFreezeCount); } @@ -237,7 +237,7 @@ VmSyncAddPath(const VmSyncState *state, * the superblock is already frozen. */ if (inode->i_sb->s_bdev == NULL || - inode->i_sb->s_frozen != SB_UNFROZEN) { + inode->i_sb->s_writers.frozen != SB_UNFROZEN) { result = (inode->i_sb->s_bdev == NULL) ? -EINVAL : -EALREADY; compat_path_release(&nd); goto exit; ++++++ open-vm-tools-modprobe.conf ++++++ install pcnet32 /sbin/modprobe -q --ignore-install vmxnet; /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS; /bin/true; ++++++ open-vm-tools.permissions ++++++ /usr/bin/vmware-user-suid-wrapper root.root 4755 ++++++ preamble ++++++ Enhances: kernel-%1 Requires: kernel-%1 Recommends: open-vm-tools Obsoletes: vmware-kmp < %(echo %{-v*}-%2 | tr - _) Obsoletes: vmware-kmp-%1 < %(echo %{-v*}-%2 | tr - _) Provides: vmware-kmp = %(echo %{-v*}-%2 | tr - _) Provides: vmware-kmp-%1 = %(echo %{-v*}-%2 | tr - _) ++++++ tools.conf ++++++ # Sample tools.conf for open-vm-tools [powerops] ## Type: String ## Default: [empty] #poweron-script= ## Type: String ## Default: [[empty] #poweroff-script= ## Type: String ## Default: [empty] #resume-script= ## Type: string ## Default: [empty] #suspend-script= [vmsvc] ## Type: int ## Default: 512 #max.wiperfile.size=512 [vmtools] ## Type: ## Default: false #disable-tools-version=false [vmtray] ## Type: Boolean ## Default: False #wirelessIcon.enable=false [desktopevents] ## Type: Boolean ## Default: False #disable-pmtimerarning=false [logging] ## Type: Boolean ## Default: #log= ## Type: String ## Default: [empty] #log.file ## Type: String(error,critical,warning,message,info,debug,none) ## Default: warning #log.level=warning [guestinfo] ## Type: Boolean ## Default: 0 # Set to one on openSUSE, as there is no libprocps and this keeps on flooding the logs # see bnc#698181 for more details. disable-perf-mon=1 ## Type: Boolean ## Default: #disable-query-diskinfo= # Custom GuetInfo Poll interval (in seconds). Set to 0 to disable polling ## Type: Int ## Default: #poll-interval= [unity] ## Type: ## Default: #debug= ## Type: Boolean ## Default: #forceEnable= ## Type: String ## Default: #desktop.backgroundColor= # Enable (or disable) the Protocol Buffer enabled service ## Type: Boolean ## Default: #pbrpc.enable= # Configure the socket type for PBRPC (ipsocket,vsocket) ## Type: String(ipsocket,vsocket) ## Default: #pbrpc.socketType= ++++++ vmtoolsd ++++++ #!/bin/sh # # Template SUSE system startup script for vmware-guest service/daemon # Copyright (C) 2008-2010 Dominique Leuenberger for openSUSE # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or (at # your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # /etc/init.d/vmtoolsd # ### BEGIN INIT INFO # Provides: vmtoolsd # Required-Start: $syslog $remote_fs # Should-Start: # Required-Stop: $syslog $remote_fs # Should-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: VMWare Tools Daemon # Description: Starts the Tools Daemon for a VMWare Virtual Machine ### END INIT INFO # Check for missing binaries (stale symlinks should not happen) # Note: Special treatment of stop for LSB conformance VMTOOLSD_BIN=/usr/bin/vmtoolsd VMTOOLSUSER_BIN=/usr/bin/vmware-user test -x $VMTOOLSD_BIN || { echo "$VMTOOLSD_BIN not installed"; if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } # The kernel module for the balloon driver changes its name in different kernel versions KERNEL_MICRO=$(uname -r | awk -F- '{print $1}' | sed 's,2.6.,,') case $KERNEL_MICRO in 27|28|29|30|31|32|33) VMBALLOON=vmmemctl ;; 34|35) VMBALLOON=vmware_balloon ;; *) VMBALLOON=vmw_balloon ;; esac . /etc/rc.status # Reset status of this service rc_reset # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - user had insufficient privileges # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) # # Note that starting an already running service, stopping # or restarting a not-running service as well as the restart # with force-reload (in case signaling is not supported) are # considered a success. case "$1" in start) echo -n "Starting vmtoolsd " if [ ! -d /tmp/VMwareDnD ]; then mkdir -m 1777 /tmp/VMwareDnD fi if [ ! -d /var/run/vmblock-fuse ]; then mkdir -m 555 /var/run/vmblock-fuse fi /usr/bin/vmware-vmblock-fuse \ -o subtype=vmware-vmblock,default_permissions,allow_other \ /var/run/vmblock-fuse modprobe $VMBALLOON modprobe vmsync ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. /sbin/startproc $VMTOOLSD_BIN # Remember status and be verbose rc_status -v ;; stop) echo -n "Shutting down vmtoolsd " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. # We need to inform the User process that we're going down. # Otherwise it keeps references on /var/run/vmblock-fuse/* and # causes issues when reloading vmblock module. if [ -f "$VMTOOLSUSER_BIN" ]; then /sbin/killproc -SIGUSR1 $VMTOOLSUSER_BIN fi /sbin/killproc -TERM $VMTOOLSD_BIN umount /var/run/vmblock-fuse || : modprobe -r vmsync || : modprobe -r $VMBALLOON || : # Remember status and be verbose rc_status -v ;; try-restart|condrestart) ## Do a restart only if the service was active before. ## Note: try-restart is now part of LSB (as of 1.9). ## RH has a similar command named condrestart. if test "$1" = "condrestart"; then echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" fi $0 status if test $? = 0; then $0 restart else rc_reset # Not running is not a failure. fi # Remember status and be quiet rc_status ;; restart) ## Stop the service and regardless of whether it was ## running or not, start it again. $0 stop $0 start # Remember status and be quiet rc_status ;; force-reload) $0 try-restart rc_status ;; reload) rc_failed 3 rc_status -v ;; status) echo -n "Checking for service vmware-guestd " ## Check status with checkproc(8), if process is running ## checkproc will return with exit status 0. # Return value is slightly different for the status command: # 0 - service up and running # 1 - service dead, but /var/run/ pid file exists # 2 - service dead, but /var/lock/ lock file exists # 3 - service not running (unused) # 4 - service status unknown :-( # 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) # NOTE: checkproc returns LSB compliant status values. /sbin/checkproc $VMTOOLSD_BIN # NOTE: rc_status knows that we called this init script with # "status" option and adapts its messages accordingly. rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart}" exit 1 ;; esac rc_exit ++++++ vmware-user-autostart-wrapper ++++++ #!/bin/sh MAX_RETRY=8 RETRY=0 SLEEP=1 unset SESSION_MANAGER while [ $RETRY -lt $MAX_RETRY ]; do if [ -f /var/run/vmblock-fuse/dev ]; then /usr/bin/vmware-user-suid-wrapper exit 0 else logger "Try $RETRY/$MAX_RETRY : /proc/fs/vmblock/dev not available. sleeping for $SLEEP seconds" sleep $SLEEP RETRY=$[ $RETRY + 1 ] SLEEP=$[ $SLEEP * 2 ] fi done ++++++ vmware-user-autostart.desktop ++++++ [Desktop Entry] Exec=vmware-user-autostart-wrapper Name=VMware User Agent Type=Application X-KDE-autostart-phase=1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org