Path of open-vm-tools libdeployPkgPlugin.so is now multi-arch compliant breaking cloud-init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
open-vm-tools (Ubuntu) |
Fix Released
|
Critical
|
Christian Ehrhardt | ||
Focal |
Fix Released
|
High
|
Christian Ehrhardt | ||
Hirsute |
Fix Released
|
High
|
Christian Ehrhardt |
Bug Description
[Impact]
* The package correctly fixed a non multiarch path, but we missed
that some depending SW might have mad assumptions on the old paths.
One such SW is cloud-init which in certain cases now fails to detect
and configure vmware correctly.
* In the long run (next Debian and 22.04) we will keep only the new
paths. But for 21.10 time is too short and even more so for the SRUs
that we regularly do back to at least the last LTS.
There we want to mitigate the impact by adding a compat link on the
old path.
[Test Plan]
* We need to configure cloud-init to check for VMware IVMF data and we
will see that without the fix it is failing to be detected.
* Set up Ubuntu in VMWare if you do not ahve any ESXi then VMWare Workstation player 16 for Ubuntu as trial from https:/
# Reduce the ouput a bit for readability and make it not skip vmware
$ echo "datasource_list: [NoCloud, OVF]" < sudo tee /etc/cloud/
$ echo "disable_
# Run ds-dentify with debug on
$ sudo DEBUG_LEVEL=5 DI_LOG=stderr /usr/lib/
# Check the result
$ cat /run/cloud-
Bad case example:
...
Checking for datasource 'OVF' via 'dscheck_OVF'
Running on vmware but rpctool query returned 1: No value found
check for 'OVF' returned not-found[1]
found= maybe=
No ds found [mode=search, notfound=disabled]. Disabled cloud-init [1]
[up 3554.80s] returning 1
And the result is:
$ cat /run/cloud-
di_report:
datasource_list: [ ]
# reporting not found result. notfound=disabled.
Good case example:
...
Checking for datasource 'OVF' via 'dscheck_OVF'
Running on vmware but rpctool query returned 1: No value found
/etc/cloud/
check for 'OVF' returned found
found=OVF maybe=
Found single datasource: OVF
[up 3357.93s] returning 0
And the result is:
$ cat /run/cloud-
datasource_list: [ OVF, None ]
Note: VMware who spotted this will do a verification as well on this case.
[Where problems could occur]
* Since we do not remove, but add a link (that exactly matches the
formerly used path) I'm not too concerned. The issue I can think of
would be e.g. security policies that prevent .so files to load through
symlinks or anything like that. But in that case still the upload
would not further degrade things, it would just not fix it.
Test wise this is all about guest customizations and VMware plugin and
VMware as usual will do checks for that when this is in verification.
[Other Info]
* Down the road we still want to drop that path, it is only added now to
temporarily mitigate such issues. Therefore we do NOT want to have that
in 22.04 for a long time, and will most likely drop it there soon to
spot further issues with it.
* For the same reason I'm also not uploading it to Debian via
https:/
and the next one shall go without (like 22.04)
* But for active Ubuntu release which got the backport I'd want to
SRU fix it despite also having the cloud-init fix later on, since we do
not know which other SW might rely on that path.
------
Problem:
the path of plugin libdeployPkgPlu
Description:
Ubuntu 21.10 have new open-vm-tools 11.3.0. with this new open-vm-tools, the plugin libdeployPkgPlu
In previous open-vm-tools version (such as 11.2.5), the the plugin libdeployPkgPlu
The path change of plugin libdeployPkgPlu
Related branches
- Miriam España Acebal (community): Approve
- Canonical Server packageset reviewers: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 66 lines (+36/-0)3 files modifieddebian/changelog (+9/-0)
debian/open-vm-tools.postinst (+24/-0)
debian/rules (+3/-0)
- Miriam España Acebal (community): Approve
- Canonical Server packageset reviewers: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 66 lines (+36/-0)3 files modifieddebian/changelog (+9/-0)
debian/open-vm-tools.postinst (+24/-0)
debian/rules (+3/-0)
- Paride Legovini (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 43 lines (+12/-1)3 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/rules (+3/-0)
summary: |
- the path of plugin libdeployPkgPlugin.so of open-vm-tools is changed and - guest customization will fail + the path of plugin libdeployPkgPlugin.so of open-vm-tools 11.3.0 is + changed and guest customization will fail |
Changed in cloud-init (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
tags: |
added: verification-done-focal verification-done-hirsute removed: verification-needed-focal verification-needed-hirsute |
cloud-init 21.3-1 will search plugin libdeployPkgPlu gin.so in the four paths: lib/vmware- tools", "/usr/lib64/ vmware- tools", lib/open- vm-tools" , "/usr/lib64/ open-vm- tools")
search_paths = (
"/usr/
"/usr/