Created attachment 236929 [details] Fixed rc script The patch in commit eb65cf5cbe543a6372834bee33243344bc40f737 to "silence checkvm_cmd" is incorrect. This line: checkvm_cmd="%%PREFIX%%/bin/vmware-checkvm > /dev/null 2>&1" does not cause stdout and stderr redirection, it simply passes the three extra tokens to the vmware-checkvm command in argv. The correct solution is to define checkvm_cmd as a function: checkvm_cmd() { %%PREFIX%%/bin/vmware-checkvm > /dev/null 2>&1 } This error causes our puppet manifests to break because the extraneous output from `service vmware-guestd rcvar` causes puppet's FreeBSD "service" resource provider to barf. I've attached a fixed version of vmware-guestd.in. In theory vmware-kmod.in has the same issue but it hasn't bitten us the way this one did.
I'll work on it later today. Thanks!
Ray, Can you please test the fix proposed by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266520 and let me know if it solves the case for you too?
Yes, this works, although I personally prefer my version that uses a function rather than an explicit call to eval, this being in my experience a more common pattern in RC files. thanks Ray
*** This bug has been marked as a duplicate of bug 266520 ***