This bug was fixed in the package open-vm-tools - 2:10.2.0-3ubuntu1
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)
-- Christian Ehrhardt <christian.ehrha...@canonical.com> Thu, 22 Feb
2018 08:39:26 +0100
** Changed in: open-vm-tools (Ubuntu)
Status: Triaged => Fix Released
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
Race with local file systems can make open-vm-tools fail to start
Status in cloud-init:
Status in open-vm-tools package in Ubuntu:
Status in open-vm-tools package in Debian:
Since the change in  open-vm-tools-service starts very (very) early.
Not so much due to the
But much more by
That can trigger an issue that looks like
root@ubuntuguest:~# systemctl status -l open-vm-tools.service
● open-vm-tools.service - Service for virtual machines hosted on VMware
Loaded: loaded (/lib/systemd/system/open-vm-tools.service; enabled; vendor
Active: failed (Result: resources)
As it is right now open-vm-tools can race with the other early start and then
In detail one can find a message like:
open-vm-tools.service: Failed to run 'start' task: Read-only file system"
This is due to privtaeTmp=yes which is also set needing a writable
To ensure this works PrivateTmp would have to be removed (not good) or some
after dependencies added that make this work reliably.
which made it work for me in 3/3 tests.
I' like to have an ack by the cloud-init Team that this does not totally kill
the originally intended Before=cloud-init-local.service
I think it does not as local-fs can complete before cloud-init-local, then
open-vm-tools can initialize and finally cloud-init-local can pick up the data.
# cloud-init-local #
# open-vm-tools #
Proposed is to add to the latter:
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : email@example.com
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp