Hello community,

here is the log from the commit of package open-vm-tools for openSUSE:Factory 
checked in at 2014-05-20 14:23:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-vm-tools (Old)
 and      /work/SRC/openSUSE:Factory/.open-vm-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "open-vm-tools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/open-vm-tools/open-vm-tools.changes      
2014-05-15 19:12:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.open-vm-tools.new/open-vm-tools.changes 
2014-05-20 14:23:06.000000000 +0200
@@ -1,0 +2,7 @@
+Fri May 16 16:57:16 UTC 2014 - mlati...@suse.com
+
+- Modify vmware-user-autostart-wrapper to unconditionally start
+  vmware-user-suid-wrapper, and no longer delay for vmblock-fuse
+  if under systemd. (bnc#876074)
+
+-------------------------------------------------------------------
@@ -5,0 +13,8 @@
+
+-------------------------------------------------------------------
+Thu Apr 28 15:33:55 UTC 2014 - mlati...@suse.com
+
+- Move 'vm-support' script from /etc/vmware-tools to /usr/bin (bnc#874931).
+- Update call to "tools.set.version" RPC during uninstall to match upstream
+  behavior (bnc#875129).
+- Add missing RPM runtime dependencies (net-tools, tar, which).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ open-vm-tools.spec ++++++
--- /var/tmp/diff_new_pack.vZ2OqX/_old  2014-05-20 14:23:08.000000000 +0200
+++ /var/tmp/diff_new_pack.vZ2OqX/_new  2014-05-20 14:23:08.000000000 +0200
@@ -66,6 +66,7 @@
 Source98:       preamble
 # PATCH-FIX-UPSTREAM g_info_redefine.patch (RHBZ#1063847)
 Patch0:         g_info_redefine.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 # don't use pkgconfig(gtk+-2.0) so we can build on SLE
 BuildRequires:  gtk2-devel
@@ -79,23 +80,25 @@
 BuildRequires:  libdnet-devel
 BuildRequires:  libicu-devel
 BuildRequires:  module-init-tools
+BuildRequires:  pam-devel
 BuildRequires:  pcre-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-devel
 BuildRequires:  pkgconfig(fuse)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # libprocps is required with 12.3 and above
 %if 0%{?suse_version} >= 1230
 BuildRequires:  procps-devel
 %endif
-BuildRequires:  pam-devel
-%if 0%{?suse_version} < 1310
-Requires:       vmware-guest-kmp
-%endif
 %if "%{?vmhgfs}"
 # Fuse is optional and enables vmblock-fuse
 BuildRequires:  fuse-devel
 %endif
+Requires:       net-tools
+Requires:       tar
+Requires:       which
+%if 0%{?suse_version} < 1310
+Requires:       vmware-guest-kmp
+%endif
 Supplements:    modalias(pci:v000015ADd*sv*sd*bc*sc*i*)
 Requires(pre):  %fillup_prereq
 Requires(pre):  %insserv_prereq
@@ -289,6 +292,9 @@
 rm -fr %{buildroot}/usr/share/doc/open-vm-tools/api
 rm -f docs/api/build/html/FreeSans.ttf
 
+# Move vm-support to /usr/bin (bnc#874931)
+mv %{buildroot}%{_sysconfdir}/vmware-tools/vm-support %{buildroot}%{_bindir}
+
 # install systemd/sysvinit init scripts and symlinks
 %if %{with_systemd}
 install -p -m 644 -D %{SOURCE2} %{buildroot}%{_unitdir}/vmtoolsd.service
@@ -379,7 +385,13 @@
 fi
 %stop_on_removal vmtoolsd
 %endif
-vmware-rpctool "tools.set.version 0" || :
+# Tell VMware that open-vm-tools is being uninstalled
+if [ "$1" = "0" -a \
+ -e %{_bindir}/vmware-checkvm -a \
+ -e %{_bindir}/vmware-rpctool ] && \
+ %{_bindir}/vmware-checkvm &> /dev/null; then
+ %{_bindir}/vmware-rpctool 'tools.set.version 0' &> /dev/null || /bin/true
+fi
 
 %postun
 %if %{with_systemd}
@@ -416,6 +428,7 @@
 %{_bindir}/vmware-rpctool
 %{_bindir}/vmware-toolbox-cmd
 %{_bindir}/vmware-xferlogs
+%{_bindir}/vm-support
 %if "%{?vmhgfs}"
 %{_sbindir}/mount.vmhgfs
 /sbin/mount.vmhgfs
@@ -431,7 +444,6 @@
 %{_sysconfdir}/vmware-tools/statechange.subr
 %{_sysconfdir}/vmware-tools/suspend-vm-default
 %config(noreplace) %{_sysconfdir}/vmware-tools/tools.conf
-%{_sysconfdir}/vmware-tools/vm-support
 %if 0%{?suse_version} < 1315
 %config %{_sysconfdir}/modprobe.d/50-vmnics.conf
 %endif

++++++ vmware-user-autostart-wrapper ++++++
--- /var/tmp/diff_new_pack.vZ2OqX/_old  2014-05-20 14:23:08.000000000 +0200
+++ /var/tmp/diff_new_pack.vZ2OqX/_new  2014-05-20 14:23:08.000000000 +0200
@@ -5,15 +5,22 @@
 
 unset SESSION_MANAGER
 
-while [ $RETRY -lt $MAX_RETRY ]; do
+# If running systemd, skip the delay loop as starting vmblock-fuse is not 
enforced
+if ! (file /sbin/init | grep "systemd" &>/dev/null); then
 
-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 ]
+  while [ $RETRY -lt $MAX_RETRY ]; do
+
+  if [ -f /var/run/vmblock-fuse/dev ]; then
+     RETRY=$MAX_RETRY
+  else
+    logger "Try $RETRY/$MAX_RETRY : /var/run/vmblock-fuse/dev not available. 
sleeping for $SLEEP seconds"
+    sleep $SLEEP
+    RETRY=$[ $RETRY + 1 ]
+    SLEEP=$[ $SLEEP * 2 ]
+  fi
+  done
 fi
-done
+
+# Unconditionally start vmware-user-suid-wrapper (after waiting for 
vmblock-fuse if not under systemd)
+/usr/bin/vmware-user-suid-wrapper
+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to