Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 649
    • Issues 649
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 206
    • Merge Requests 206
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #6997

Closed
Open
Opened Mar 11, 2017 by William Ross@wllmrss

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
  • Uploads:
    • 0015-remove-unneeded-cast-GuestInfoGetPrimaryIP.patch
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.9.5
Milestone
3.9.5
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#6997