Bug 226204 - [patch] emulators/open-vm-tools use kldstat -qn, sort pkg-plist amd make fuse optional
Summary: [patch] emulators/open-vm-tools use kldstat -qn, sort pkg-plist amd make fuse...
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Josh Paetzel
Keywords: patch
Depends on:
Reported: 2018-02-25 18:39 UTC by Olli Hauer
Modified: 2019-04-07 15:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jpaetzel)

patch-open-vm-tools (5.85 KB, patch)
2018-02-25 18:39 UTC, Olli Hauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer freebsd_committer 2018-02-25 18:39:26 UTC
Created attachment 190998 [details]

A small improvement for the rc script:
 - use "kldstat -qn" instead "kldstat -n >/dev/null 2>&1" this is available on all supported FreeBSD releases.

- make fuse optional, it is an addon that is useless on vSphere servers, indeed if you install tools on Linux with the vmware install script there is the ability to not install fuse or hgfs at all per default on vSphere.

- disable grabbitmqproxy, procps and deploypkg which are not supported on FreeBSD

- install a sample tools.conf and set [logging]vmsvc.level=error
 ( I haven't tested with the UFS patch from latest commit, but without that line I had every 5 sec. an entry in log/messsages)

- cleanup Makefile, some directories are created by default and the lines are no longer required with pkgng.

- sort and cleanup pkg-plist, so it is easier to apply local patches (e.g. remove fuse plus libhg parts so they are not installed at all)
Comment 1 Josh Paetzel freebsd_committer 2018-10-25 15:49:13 UTC
I don't know how this bug slipped through the cracks but I'll work on it soon.