missing the executive file VGAuthService for open-vm-tool-10.1.5

Bug #1677196 reported by vmware-gos-Yuhua
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Fix Released
Medium
Dimitri John Ledkov
Zesty
Fix Released
Medium
Dimitri John Ledkov

Bug Description

[Impact]

 * open-vm-tools has VGAuthService disabled due to non-main dependencies
 * However, during zesty cycle open-vm-tools upstream was updated to have an option to build VGAuthService using main-only dependencies.
 * This did not make it into zesty
 * VGAuthService enabled authentication between VMWare and the guest.

[Test Case]

 * Check that /usr/bin/VGAuthService is present in the package
 * I'm not sure how to test the VGAuthService functionality, as I do not have VMWare setup

[Regression Potential]

 * This is a new component that was not shipped before, and we will compile it with a non-default (but upstream) dependency. It may or may not work, even when provided, which may result in further SRUs to fix VGAuthService functionality.

[Other Info]

 * https://bugs.launchpad.net/ubuntu/+source/xml-security-c/+bug/1482777/comments/14 - upstream commitment to move to a main-only dependency

 * Original bug report

After install the embedded OVT 10.1.5 and reboot for Ubuntu-17.04-beta2, The VGauth service is not running.
I can find the bootup service file /lib/systemd/system/vgauth.service but can not find the executive file VGAuthService in GuestOS.

The content of file vgauth.service:
[Unit]
......
.....

[Service]
ExecStart=/usr/bin/VGAuthService
TimeoutStopSec=5

[Install]
RequiredBy=open-vm-tools.service

Revision history for this message
Oliver Kurth (okurth-1) wrote :

Looks like VGAuthservice is not in the package:

vmware@ubuntu:~$ dpkg -L open-vm-tools | grep VGAuth
vmware@ubuntu:~$

Looks like the package is built without xmlsecurity, and without xerces. From debian/rules:

override_dh_auto_configure:
        dh_auto_configure --sourcedirectory=open-vm-tools -- \
                        --prefix=/usr \
                        --libdir=\$${prefix}/lib \
                        --without-kernel-modules \
                        --with-pic \
                        --without-xmlsecurity --without-xerces \
                        CFLAGS="-fPIC -Wno-deprecated-declarations $(CFLAGS)" \
                        CUSTOM_PROCPS_NAME=procps \
                        CXXFLAGS='-std=gnu++11'
        find . -name Makefile -exec sed -i '/.*CPPFLAGS.*/s,-std=c++11,,' '{}' \;

This will disable vgauth, unless --enable-xmlsec1 is specified.

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

adding:
 the way to install the embedded OVT 10.1.5 : apt-get install open-vm-tools

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

It will be GA soon.
Is anyone is working on it to make sure the fix will be included in GA release ? thanks!

best regards
Yuhua Zou

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

This issue is not fixed in GA release.
Patricia Gaughen said the fix would be available as a update.

Would you please advise how we can advise customers on how to apply this patch ?

best regards
Yuhua Zou

Changed in open-vm-tools (Ubuntu Xenial):
assignee: nobody → Dimitri John Ledkov (xnox)
importance: Undecided → Medium
status: New → Triaged
Changed in open-vm-tools (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
assignee: nobody → Dimitri John Ledkov (xnox)
no longer affects: open-vm-tools (Ubuntu Xenial)
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

open-vm-tools (2:10.1.5-5055683-1ubuntu1.1) zesty; urgency=medium

  * Compile with libxmlsec1-dev instead of xmlsecurity/xerces and thus
    provide VGAuthServices. (LP: #1677196)

Date: Wed, 19 Apr 2017 14:57:29 +0100
Changed-By: Dimitri John Ledkov <email address hidden>
Maintainer: Ubuntu Developers <email address hidden>
https://launchpad.net/ubuntu/+source/open-vm-tools/2:10.1.5-5055683-1ubuntu1.1

==

 OK: open-vm-tools_10.1.5-5055683.orig.tar.gz
 OK: open-vm-tools_10.1.5-5055683-1ubuntu1.1.debian.tar.xz
 OK: open-vm-tools_10.1.5-5055683-1ubuntu1.1.dsc
     -> Component: main Section: admin

Upload Warnings:
Redirecting ubuntu zesty to ubuntu zesty-proposed.
This upload awaits approval by a distro manager

Announcing to <email address hidden>

Thank you for your contribution to Ubuntu.

Changed in open-vm-tools (Ubuntu Zesty):
status: Triaged → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

Hello vmware-gos-Yuhua, or anyone else affected,

Accepted open-vm-tools into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open-vm-tools/2:10.1.5-5055683-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in open-vm-tools (Ubuntu Zesty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

This issue was fixed in the newest package open-vm-tools 2:10.1.5-5055683-1ubuntu1.1.

thanks all for your effort!

Test Steps:
1. Add repository
   modify the software sources manually by adding the following line to /etc/apt/sources.list:
   deb http://archive.ubuntu.com/ubuntu/ zesty-proposed restricted main multiverse universe

2. Update repository cache: sudo apt-get update

3. Install package open-vm-tools: sudo apt-get install open-vm-tools
    :During the installation, we can see it can get package from repository zesty-proposed

4. Check if VGAuth works well:
   1) The executive VGAuathServices should exist in /usr/bin/ ------> Pass
   2) After install OVT, VGAuathServices should be running ------> Pass
   3) After Reboot GuestOS, VGAuathServices should be running ------> Pass
   4) check basic functions for VGauth ------> Pass

best regards
Yuhua Zou

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2:10.1.5-5055683-1ubuntu1.1

---------------
open-vm-tools (2:10.1.5-5055683-1ubuntu1.1) zesty; urgency=medium

  * Compile with libxmlsec1-dev instead of xmlsecurity/xerces and thus
    provide VGAuthServices. (LP: #1677196)

 -- Dimitri John Ledkov <email address hidden> Wed, 19 Apr 2017 14:57:29 +0100

Changed in open-vm-tools (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for open-vm-tools has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2:10.1.5-5055683-1ubuntu1.1

---------------
open-vm-tools (2:10.1.5-5055683-1ubuntu1.1) zesty; urgency=medium

  * Compile with libxmlsec1-dev instead of xmlsecurity/xerces and thus
    provide VGAuthServices. (LP: #1677196)

 -- Dimitri John Ledkov <email address hidden> Wed, 19 Apr 2017 14:57:29 +0100

Changed in open-vm-tools (Ubuntu Zesty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.