incorrect tools.conf template is shipped with Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMWare tools |
Fix Released
|
Unknown
|
|||
open-vm-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Dariusz Gadomski | ||
Xenial |
Fix Released
|
Undecided
|
Dariusz Gadomski | ||
Artful |
Fix Released
|
Undecided
|
Dariusz Gadomski |
Bug Description
[Impact]
* The default tools.conf template shipped with the Ubuntu package is useless - it gets cleared on the first run as it contains an unrecognized content.
[Test Case]
* Install open-vm-tools.
* Check contents of /etc/vmware-
* Start vmtoolsd service e.g. by systemctl start open-vm-tools.
* Check tools.conf contents again.
Expected result:
Config is read an left untouched.
Actual result:
Config file is cleared.
[Regression Potential]
* If any of the parameters in the template is set to a non-default value
the behaviour of vmtoolsd may change slightly (e.g. different log verbosity, log target - file vs. syslog).
But people will get the usual conffile changed prompts, so those who modified it will have to consciously decide which makes it safe.
[Other Info]
* Original bug description:
The tools.conf template shipped with Ubuntu (debian/
It's current contents:
bindir = "/usr/bin"
do not mean anything to open-vm-tools - it's not interpreted in any way by vmtoolsd.
Moreover, on the first launch this content is cleared by a piece of code doing a "config upgrade".
I believe replacing it with a more meaningful content is necessary.
tags: | added: sts |
Changed in open-vm-tools: | |
status: | Unknown → New |
Changed in open-vm-tools (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in open-vm-tools (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in open-vm-tools (Ubuntu Artful): | |
status: | New → In Progress |
Changed in open-vm-tools (Ubuntu Trusty): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in open-vm-tools (Ubuntu Xenial): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in open-vm-tools (Ubuntu Artful): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
description: | updated |
Changed in open-vm-tools: | |
status: | New → Fix Released |
A more useful example based on the comment in open-vm- tools/lib/ include/ vmware/ tools/log. h.