Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2022 15:11:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266520] emulators/open-vm-tools rcvars outputs spurious line from vmware-checkvm
Message-ID:  <bug-266520-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266520

            Bug ID: 266520
           Summary: emulators/open-vm-tools rcvars outputs spurious line
                    from vmware-checkvm
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: garga@FreeBSD.org
          Reporter: gadavis@ucsd.edu
             Flags: maintainer-feedback?(garga@FreeBSD.org)
          Assignee: garga@FreeBSD.org

This appears to be a regression from a change mentioned offhand in bug #264=
564.

Redirection of stdout and stderr fails, so there's spurious output, which is
breaking Puppet management of the service.

Expected:

    # vmware_guestd
    #
    vmware_guestd_enable=3D"YES"
    #   (default: "")

Actual:

    VMware software version 6 (good)
    # vmware_guestd
    #
    vmware_guestd_enable=3D"YES"
    #   (default: "")

Replacing line 21 of /usr/local/etc/rc.d/vmware-guestd with the following f=
ixes
the issue:

    --- /usr/local/etc/rc.d/vmware-guestd       2022-09-19 08:19:45.0000000=
00
-0700
    +++ ./vmware-guestd 2022-09-20 08:06:56.469558000 -0700
    @@ -18,7 +18,7 @@
     load_rc_config $name

     checkvm_cmd=3D"/usr/local/bin/vmware-checkvm > /dev/null 2>&1"
    -if ${checkvm_cmd}; then
    +if eval "${checkvm_cmd}"; then
        : ${vmware_guestd_enable:=3D"YES"}
     else
        : ${vmware_guestd_enable:=3D"NO"}


Other info:

    $ pkg info open-vm-tools | grep Version
    Version        : 12.1.0,2
    $ uname -r
    13.1-RELEASE-p2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266520-7788>