open-vm-tools segfaults on Alpine Linux 3.5.2
open-vm-tools segfaults on Alpine Linux 3.5.2. Segfault sometimes delayed by approximately 60 seconds, sometimes immediate. Occurs whether set to load on boot/default runlevel or binary run manually as root.
Running on VMware ESXi 6.0.0 3620759.
jupiter:~# uname -a
Linux jupiter 4.4.52-0-grsec #1-Alpine SMP Tue Feb 28 10:15:40 GMT 2017 x86_64 GNU/Linux
/var/log/messages:
Mar 11 06:22:33 jupiter kern.info kernel: [ 100.880945] vmtoolsd[2797]: segfault at 0 ip 0000799fa4bf21cd sp 00007a50b56a5dd0 error 4 in libvmtools.so.0.0.0[799fa4bb6000+280000]
Mar 11 06:22:33 jupiter kern.alert kernel: [ 100.881037] grsec: Segmentation fault occurred at (nil) in /usr/bin/vmtoolsd[vmtoolsd:2797] uid/euid:0/0 gid/egid:102/102, parent /bin/busybox[init:1] uid/euid:0/0 gid/egid:0/0
When run manually there is a period of around 60 seconds where the tools appear to be working, hypervisor shows tools as running, then segfault:
jupiter:~# /usr/bin/vmtoolsd
Segmentation fault (core dumped)
jupiter:~# apk info open-vm-tools
open-vm-tools-10.0.7-r7 description:
The Open Virtual Machine Tools are the open source implementation of VMware Tools.
open-vm-tools-10.0.7-r7 webpage:
https://github.com/vmware/open-vm-tools/
open-vm-tools-10.0.7-r7 installed size:
1576960
(from redmine: issue id 6997, created on 2017-03-11)
- Changesets:
- Revision 26e7a7c6 by Natanael Copa on 2017-05-05T19:47:07Z:
main/open-vm-tools: fix another strerror_r issue
possibly related ref #6997