[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
** Changed in: open-vm-tools (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1758428 Title: Subprocesses of StartProgramInGuest fail when creating temporary files Status in open-vm-tools package in Ubuntu: Fix Released Status in open-vm-tools source package in Xenial: Fix Released Status in open-vm-tools source package in Artful: Fix Released Status in open-vm-tools source package in Bionic: Fix Released Status in open-vm-tools package in Debian: Fix Released Bug description: Using open-vm-tools/xenial,now 2:10.2.0-3ubuntu0.16.04.1~ppa6 amd64 [installed], subprocesses started by vim.vm.guest.ProcessManager fail to create temporary files. Summary: * When running subprocesss through open-vm-tools 2:10.2.0-3ubuntu0.16.04.1 (via vim.vm.guest.ProcessManager), subprocesses crash while trying to write temporary files. * Subprocesses run correctly when executed directly from the shell * Subprocesses execute correctly from open-vm-tools open-vm-tools-10.2.0-7253323, when compiled from source Steps to reproduce: 1. Install open-vm-tools/xenial 2:10.2.0-3ubuntu0.16.04.1~ppa6 on a VMWare ESX 6.5 16.04 guest 2. Using VMOMI API, start a child process that relies on temporary files (eg. `apt-get update`) 3. Note the error code on the child process (eg. 100) 4. Run process directly from guest shell (eg. `apt-get update`) 5. Note the successful return code on the child process (1) Logs from vmtoolsd on guest: Mar 23 19:32:32 kcp vmtoolsd[660]: Hit:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Couldn't create tempfiles for splitting up /var/lib/apt/lists/apt.dockerproject.org_repo_dists_ubuntu-xenial_InReleaseErr:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Could not execute 'apt-key' to verify signature (is gnupg installed?) - Psuedo code using pyVMOMI API to start a child process: #!/usr/bin/python import re import time from pyVim import connect from pyVmomi import vim, vmodl service_instance = connect.SmartConnectNoSSL(host=, user=, pwd=, port=443) content = service_instance.RetrieveContent() vm = content.searchIndex.FindByIp(datacenter=None, ip=, vmSearch=True) creds = vim.vm.guest.NamePasswordAuthentication( username="root", password= ) pm = content.guestOperationsManager.processManager ps = vim.vm.guest.ProcessManager.ProgramSpec( programPath="/usr/bin/apt-get", arguments="update" ) res = pm.StartProgramInGuest(vm, creds, ps) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode while re.match('[^0-9]+', str(pid_exitcode)): time.sleep(5) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode if pid_exitcode == 0: print("Program %d completed with success" % res) break # Look for non-zero code to fail elif re.match('[1-9]+', str(pid_exitcode)): print("ERROR: Program apt-get completed with Failure %s" % pid_exitcode) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1758428/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
After a serious dedup/crossreading session (so confusing :-/) I realized this needs to be reported to Debian, I did so and will link up the bug here ... ** Bug watch added: Debian Bug tracker #905170 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905170 ** Also affects: open-vm-tools (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905170 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1758428 Title: Subprocesses of StartProgramInGuest fail when creating temporary files Status in open-vm-tools package in Ubuntu: Fix Released Status in open-vm-tools source package in Xenial: Fix Released Status in open-vm-tools source package in Artful: Fix Released Status in open-vm-tools source package in Bionic: Fix Released Status in open-vm-tools package in Debian: Unknown Bug description: Using open-vm-tools/xenial,now 2:10.2.0-3ubuntu0.16.04.1~ppa6 amd64 [installed], subprocesses started by vim.vm.guest.ProcessManager fail to create temporary files. Summary: * When running subprocesss through open-vm-tools 2:10.2.0-3ubuntu0.16.04.1 (via vim.vm.guest.ProcessManager), subprocesses crash while trying to write temporary files. * Subprocesses run correctly when executed directly from the shell * Subprocesses execute correctly from open-vm-tools open-vm-tools-10.2.0-7253323, when compiled from source Steps to reproduce: 1. Install open-vm-tools/xenial 2:10.2.0-3ubuntu0.16.04.1~ppa6 on a VMWare ESX 6.5 16.04 guest 2. Using VMOMI API, start a child process that relies on temporary files (eg. `apt-get update`) 3. Note the error code on the child process (eg. 100) 4. Run process directly from guest shell (eg. `apt-get update`) 5. Note the successful return code on the child process (1) Logs from vmtoolsd on guest: Mar 23 19:32:32 kcp vmtoolsd[660]: Hit:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Couldn't create tempfiles for splitting up /var/lib/apt/lists/apt.dockerproject.org_repo_dists_ubuntu-xenial_InReleaseErr:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Could not execute 'apt-key' to verify signature (is gnupg installed?) - Psuedo code using pyVMOMI API to start a child process: #!/usr/bin/python import re import time from pyVim import connect from pyVmomi import vim, vmodl service_instance = connect.SmartConnectNoSSL(host=, user=, pwd=, port=443) content = service_instance.RetrieveContent() vm = content.searchIndex.FindByIp(datacenter=None, ip=, vmSearch=True) creds = vim.vm.guest.NamePasswordAuthentication( username="root", password= ) pm = content.guestOperationsManager.processManager ps = vim.vm.guest.ProcessManager.ProgramSpec( programPath="/usr/bin/apt-get", arguments="update" ) res = pm.StartProgramInGuest(vm, creds, ps) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode while re.match('[^0-9]+', str(pid_exitcode)): time.sleep(5) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode if pid_exitcode == 0: print("Program %d completed with success" % res) break # Look for non-zero code to fail elif re.match('[1-9]+', str(pid_exitcode)): print("ERROR: Program apt-get completed with Failure %s" % pid_exitcode) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1758428/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
This bug was fixed in the package open-vm-tools - 2:10.2.0-3~ubuntu0.17.10.1 --- open-vm-tools (2:10.2.0-3~ubuntu0.17.10.1) artful; urgency=medium * backport Bionic open-vm-tools to Artful (LP: #1741390) - d/control: B-D for dh-autoreconf and dh-systemd - d/rules: re-add autoreconf and systemd - d/control: B-D to debhelper version of xenial supporting compat 10 - d/compat: compat level 10 is latest xenial supported level - d/rules: go back from override_dh_installsystemd to override_dh_systemd_enable and override_dh_systemd_start as needed on xenials debhelper version. - d/rules: drop --no-restart-after-upgrade which only exists in debhelper 10, the version 9 behavior defaults to what we need. - debian/rules: dh_systemd_start in xenial has issues with the escaping of the run-vmblock\\x2dfuse.mount job, so drop this call - debian/open-vm-tools-desktop.postinst: add a fixed version of what dh_systemd_start would have added - d/open-vm-tools-desktop.prerm, d/open-vm-tools-desktop.postrm: add what dh_systemd_start would have added (as-is since those sections worked) - d/control: update maintainers * d/open-vm-tools.service: Add After=local-fs.target dependency ensuring filesystems are ready to fix a race on startup (LP: #1750780) open-vm-tools (2:10.2.0-3ubuntu3) bionic; urgency=medium * Disable PrivateTmp for the open-vm-tools.service as it triggers issues when triggering processes that need tmp through VMOMI API (LP: #1758428) open-vm-tools (2:10.2.0-3ubuntu2) bionic; urgency=medium * Revert change in d/open-vm-tools.service that added After=local-fs.target. It turned out that the systemd in bionic already implicitly fixes this issue (the change is still needed for backports) (LP: 1750780) open-vm-tools (2:10.2.0-3ubuntu1) bionic; urgency=medium * d/open-vm-tools.service: Add After=local-fs.target dependency ensuring filesystems are ready to fix a race on startup (LP: #1750780) open-vm-tools (2:10.2.0-3) unstable; urgency=medium * [47e50a1] Fix debhelper dep for backports * [34538a5] Make tools.conf useful. Thanks to Dariusz Gadomski (Closes: #889884) open-vm-tools (2:10.2.0-2) unstable; urgency=medium * [249d54c] Fix wayland segfault. Adding a patch from Fedora to fix a wayland/gnome related segfault. Thanks to Oliver Kurth (Closes: #887755) open-vm-tools (2:10.2.0-1) unstable; urgency=medium * [f0bf956] Add .travis.yml which was removed by gbp. * [892e2f6] Build with gtk3. * [03a655b] Check if debhelper handles \ in systemd units. Thanks to Oliver Kurth (Closes: #886191) * [5bf9301] Drop -dkms package. Thanks to Christian Ehrhardt (Closes: #884656) * [236cdba] Update upstream source from tag 'upstream/10.2.0' Update to upstream version '10.2.0' with Debian dir d5190e486b6beb65ee7ed31c0c23a789b8f60cab (Closes: #884496) * [692beff] snapshot changelog. * [45aa743] Add .travis.yml which was removed by gbp. * [aabeded] Fix dpkg --compare-versions call * [0697425] Better debhelper version parsing. * [390ec09] fix even more makefile bugs. * [6e5fa38] Refreshing patches. Dropping kernel-module related patches. * [cbfec05] Drop dh_autoreconf, not needed anymore. * [d5fef50] autotools-dev is done by dh now. * [b66ab14] use dh_installsystemd open-vm-tools (2:10.1.15-1) unstable; urgency=medium * [78a17f1] Remove fixed CXX std setting. * [f96f479] Updated version 10.1.15 from 'upstream/10.1.15' with Debian dir c44394c71e055f4cfd3a15ee578fc9895d64ebb1 * [682790b] Refreshing patches. -- Christian EhrhardtThu, 15 Feb 2018 09:36:20 +0100 ** Changed in: open-vm-tools (Ubuntu Artful) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1758428 Title: Subprocesses of StartProgramInGuest fail when creating temporary files Status in open-vm-tools package in Ubuntu: Fix Released Status in open-vm-tools source package in Xenial: Fix Released Status in open-vm-tools source package in Artful: Fix Released Status in open-vm-tools source package in Bionic: Fix Released Bug description: Using open-vm-tools/xenial,now 2:10.2.0-3ubuntu0.16.04.1~ppa6 amd64 [installed], subprocesses started by vim.vm.guest.ProcessManager fail to create temporary files. Summary: * When running subprocesss through open-vm-tools 2:10.2.0-3ubuntu0.16.04.1 (via vim.vm.guest.ProcessManager), subprocesses crash while trying to write temporary files. * Subprocesses run correctly when executed directly from the shell * Subprocesses execute correctly from open-vm-tools open-vm-tools-10.2.0-7253323, when compiled from source Steps to reproduce: 1. Install open-vm-tools/xenial
[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
This bug was fixed in the package open-vm-tools - 2:10.2.0-3~ubuntu0.16.04.1 --- open-vm-tools (2:10.2.0-3~ubuntu0.16.04.1) xenial; urgency=medium * backport Bionic open-vm-tools to Xenial (LP: #1741390) - d/control: B-D for dh-autoreconf and dh-systemd - d/rules: re-add autoreconf and systemd - d/control: B-D to debhelper version of xenial supporting compat 10 - d/compat: compat level 10 is latest xenial supported level - d/rules: go back from override_dh_installsystemd to override_dh_systemd_enable and override_dh_systemd_start as needed on xenials debhelper version. - d/rules: drop --no-restart-after-upgrade which only exists in debhelper 10, the version 9 behavior defaults to what we need. - debian/rules: dh_systemd_start in xenial has issues with the escaping of the run-vmblock\\x2dfuse.mount job, so drop this call - debian/open-vm-tools-desktop.postinst: add a fixed version of what dh_systemd_start would have added - d/open-vm-tools-desktop.prerm, d/open-vm-tools-desktop.postrm: add what dh_systemd_start would have added (as-is since those sections worked) - d/control: update maintainers * d/open-vm-tools.service: Add After=local-fs.target dependency ensuring filesystems are ready to fix a race on startup (LP: #1750780) open-vm-tools (2:10.2.0-3ubuntu3) bionic; urgency=medium * Disable PrivateTmp for the open-vm-tools.service as it triggers issues when triggering processes that need tmp through VMOMI API (LP: #1758428) open-vm-tools (2:10.2.0-3ubuntu2) bionic; urgency=medium * Revert change in d/open-vm-tools.service that added After=local-fs.target. It turned out that the systemd in bionic already implicitly fixes this issue (the change is still needed for backports) (LP: 1750780) open-vm-tools (2:10.2.0-3ubuntu1) bionic; urgency=medium * d/open-vm-tools.service: Add After=local-fs.target dependency ensuring filesystems are ready to fix a race on startup (LP: #1750780) open-vm-tools (2:10.2.0-3) unstable; urgency=medium * [47e50a1] Fix debhelper dep for backports * [34538a5] Make tools.conf useful. Thanks to Dariusz Gadomski (Closes: #889884) open-vm-tools (2:10.2.0-2) unstable; urgency=medium * [249d54c] Fix wayland segfault. Adding a patch from Fedora to fix a wayland/gnome related segfault. Thanks to Oliver Kurth (Closes: #887755) open-vm-tools (2:10.2.0-1) unstable; urgency=medium * [f0bf956] Add .travis.yml which was removed by gbp. * [892e2f6] Build with gtk3. * [03a655b] Check if debhelper handles \ in systemd units. Thanks to Oliver Kurth (Closes: #886191) * [5bf9301] Drop -dkms package. Thanks to Christian Ehrhardt (Closes: #884656) * [236cdba] Update upstream source from tag 'upstream/10.2.0' Update to upstream version '10.2.0' with Debian dir d5190e486b6beb65ee7ed31c0c23a789b8f60cab (Closes: #884496) * [692beff] snapshot changelog. * [45aa743] Add .travis.yml which was removed by gbp. * [aabeded] Fix dpkg --compare-versions call * [0697425] Better debhelper version parsing. * [390ec09] fix even more makefile bugs. * [6e5fa38] Refreshing patches. Dropping kernel-module related patches. * [cbfec05] Drop dh_autoreconf, not needed anymore. * [d5fef50] autotools-dev is done by dh now. * [b66ab14] use dh_installsystemd open-vm-tools (2:10.1.15-1) unstable; urgency=medium * [78a17f1] Remove fixed CXX std setting. * [f96f479] Updated version 10.1.15 from 'upstream/10.1.15' with Debian dir c44394c71e055f4cfd3a15ee578fc9895d64ebb1 * [682790b] Refreshing patches. open-vm-tools (2:10.1.10-3) unstable; urgency=medium * [00bc9bb] Build with CXXFLAGS=-std=c++14. Thanks to Rene Engelhard and Oliver Kurth (Closes: #876121) * [6b61376] Re-add .travis.yml. Seems it went missing with the last merge. * [bf07ae8] Work around dh_systemd escaping bugs again. Seems the unit escaping changed with a new dh version. Work around the known and reported fails again. Thanks to Christian Ehrhardt (Closes: #875657) open-vm-tools (2:10.1.10-2) unstable; urgency=medium [ Shota Aratono ] * [5ab87bd] Fix scsi timeout setting error on debian stretch * [c0847eb] Fix attempting change setting to unintentional target [ Raphaël Hertzog ] * [dc2e27f] Add patch to support resolution switching with KMS. This is needed for proper support of Wayland sessions. (Closes: #872779) open-vm-tools (2:10.1.10-1) unstable; urgency=medium * Drop the extra part of the version string. Easier to handle in the short variant. * [6be6a49] Updating watch file. Use tags from github. * [8c25235] Updated version 10.1.10 from 'upstream/10.1.10' with Debian dir 3dddea7985f21457b294b5f554d5ecdf32aabfff * [195cead] Refreshing patches. Removing cve-2015-5191.patch as it is part of the upstream release. * [e6b3fd5] Build using libssl-dev and libxmlsec1-dev. (Closes: #859416)
[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
** Also affects: open-vm-tools (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: open-vm-tools (Ubuntu Artful) Status: New => Triaged -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1758428 Title: Subprocesses of StartProgramInGuest fail when creating temporary files Status in open-vm-tools package in Ubuntu: Fix Released Status in open-vm-tools source package in Xenial: Triaged Status in open-vm-tools source package in Artful: Triaged Status in open-vm-tools source package in Bionic: Fix Released Bug description: Using open-vm-tools/xenial,now 2:10.2.0-3ubuntu0.16.04.1~ppa6 amd64 [installed], subprocesses started by vim.vm.guest.ProcessManager fail to create temporary files. Summary: * When running subprocesss through open-vm-tools 2:10.2.0-3ubuntu0.16.04.1 (via vim.vm.guest.ProcessManager), subprocesses crash while trying to write temporary files. * Subprocesses run correctly when executed directly from the shell * Subprocesses execute correctly from open-vm-tools open-vm-tools-10.2.0-7253323, when compiled from source Steps to reproduce: 1. Install open-vm-tools/xenial 2:10.2.0-3ubuntu0.16.04.1~ppa6 on a VMWare ESX 6.5 16.04 guest 2. Using VMOMI API, start a child process that relies on temporary files (eg. `apt-get update`) 3. Note the error code on the child process (eg. 100) 4. Run process directly from guest shell (eg. `apt-get update`) 5. Note the successful return code on the child process (1) Logs from vmtoolsd on guest: Mar 23 19:32:32 kcp vmtoolsd[660]: Hit:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Couldn't create tempfiles for splitting up /var/lib/apt/lists/apt.dockerproject.org_repo_dists_ubuntu-xenial_InReleaseErr:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Could not execute 'apt-key' to verify signature (is gnupg installed?) - Psuedo code using pyVMOMI API to start a child process: #!/usr/bin/python import re import time from pyVim import connect from pyVmomi import vim, vmodl service_instance = connect.SmartConnectNoSSL(host=, user=, pwd=, port=443) content = service_instance.RetrieveContent() vm = content.searchIndex.FindByIp(datacenter=None, ip=, vmSearch=True) creds = vim.vm.guest.NamePasswordAuthentication( username="root", password= ) pm = content.guestOperationsManager.processManager ps = vim.vm.guest.ProcessManager.ProgramSpec( programPath="/usr/bin/apt-get", arguments="update" ) res = pm.StartProgramInGuest(vm, creds, ps) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode while re.match('[^0-9]+', str(pid_exitcode)): time.sleep(5) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode if pid_exitcode == 0: print("Program %d completed with success" % res) break # Look for non-zero code to fail elif re.match('[1-9]+', str(pid_exitcode)): print("ERROR: Program apt-get completed with Failure %s" % pid_exitcode) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1758428/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1758428] Re: Subprocesses of StartProgramInGuest fail when creating temporary files
This bug was fixed in the package open-vm-tools - 2:10.2.0-3ubuntu3 --- open-vm-tools (2:10.2.0-3ubuntu3) bionic; urgency=medium * Disable PrivateTmp for the open-vm-tools.service as it triggers issues when triggering processes that need tmp through VMOMI API (LP: #1758428) -- Christian EhrhardtThu, 19 Apr 2018 11:23:58 +0200 ** Changed in: open-vm-tools (Ubuntu Bionic) Status: In Progress => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1758428 Title: Subprocesses of StartProgramInGuest fail when creating temporary files Status in open-vm-tools package in Ubuntu: Fix Released Status in open-vm-tools source package in Xenial: Triaged Status in open-vm-tools source package in Bionic: Fix Released Bug description: Using open-vm-tools/xenial,now 2:10.2.0-3ubuntu0.16.04.1~ppa6 amd64 [installed], subprocesses started by vim.vm.guest.ProcessManager fail to create temporary files. Summary: * When running subprocesss through open-vm-tools 2:10.2.0-3ubuntu0.16.04.1 (via vim.vm.guest.ProcessManager), subprocesses crash while trying to write temporary files. * Subprocesses run correctly when executed directly from the shell * Subprocesses execute correctly from open-vm-tools open-vm-tools-10.2.0-7253323, when compiled from source Steps to reproduce: 1. Install open-vm-tools/xenial 2:10.2.0-3ubuntu0.16.04.1~ppa6 on a VMWare ESX 6.5 16.04 guest 2. Using VMOMI API, start a child process that relies on temporary files (eg. `apt-get update`) 3. Note the error code on the child process (eg. 100) 4. Run process directly from guest shell (eg. `apt-get update`) 5. Note the successful return code on the child process (1) Logs from vmtoolsd on guest: Mar 23 19:32:32 kcp vmtoolsd[660]: Hit:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Couldn't create tempfiles for splitting up /var/lib/apt/lists/apt.dockerproject.org_repo_dists_ubuntu-xenial_InReleaseErr:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Mar 23 19:32:32 kcp vmtoolsd[660]: Could not execute 'apt-key' to verify signature (is gnupg installed?) - Psuedo code using pyVMOMI API to start a child process: #!/usr/bin/python import re import time from pyVim import connect from pyVmomi import vim, vmodl service_instance = connect.SmartConnectNoSSL(host=, user=, pwd=, port=443) content = service_instance.RetrieveContent() vm = content.searchIndex.FindByIp(datacenter=None, ip=, vmSearch=True) creds = vim.vm.guest.NamePasswordAuthentication( username="root", password= ) pm = content.guestOperationsManager.processManager ps = vim.vm.guest.ProcessManager.ProgramSpec( programPath="/usr/bin/apt-get", arguments="update" ) res = pm.StartProgramInGuest(vm, creds, ps) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode while re.match('[^0-9]+', str(pid_exitcode)): time.sleep(5) pid_exitcode = pm.ListProcessesInGuest(vm, creds, [res]).pop().exitCode if pid_exitcode == 0: print("Program %d completed with success" % res) break # Look for non-zero code to fail elif re.match('[1-9]+', str(pid_exitcode)): print("ERROR: Program apt-get completed with Failure %s" % pid_exitcode) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1758428/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp