From nobody Tue Sep 20 15:11:00 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MX4kF1SJGz4cWnP for ; Tue, 20 Sep 2022 15:11:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MX4kF03Jsz3gxW for ; Tue, 20 Sep 2022 15:11:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MX4kD6F3lzlnv for ; Tue, 20 Sep 2022 15:11:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28KFB0Gw060288 for ; Tue, 20 Sep 2022 15:11:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28KFB01X060287 for ports-bugs@FreeBSD.org; Tue, 20 Sep 2022 15:11:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266520] emulators/open-vm-tools rcvars outputs spurious line from vmware-checkvm Date: Tue, 20 Sep 2022 15:11:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gadavis@ucsd.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: garga@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663686661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ENeS+GCq+e3hVEMC6t7jO+crfQSTPt5904CO4x5D6Qg=; b=Cm6HZ3rDl6W5obTQHqphNqbfds1q04K11n0e9GUDdvXjDcksWU7eRUzcyeOEnVRRCbYoPW 6Zmdg9RkG25LmD/DEpEgsKQ94SQubIs0osTS8nCIwKGMu8ed9DIC8VqLIc9q9DUhFxQvi6 Si2UFRb42fPmp+6zFl5PQ4Kdpd9o1PIVVr7Ude3jpm7Tuj774xkAb/iZ9TAS4o5F7/p0Nd bj8Gniu77eSlEs85cnNNIV7a17uTNPQsABeEYDeCDE8guZR4Nqj2hypG7XvIkfDUVQhVA9 MT5M7PRuqPEuSuNlzUWQGcg03NwMw+jcd7MSA0edCqlYc5TgK/jjDnBbxnkr7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663686661; a=rsa-sha256; cv=none; b=FqFYui3UP6FpwsFjGzznHyR9OB5Hr+oh4tdwaH8+CbS6HVdtV9wSftkREuPuID7TJRryD+ T9oMQRGhTTc7jXTrhe3duKJhmQimVfac7KhAmncKqZ8/DrFh3B/Z6ZOeTj+ehzTzoaLjnP HuQzIz1sv1APHkp38aGl9p/l7b6xEMIoI3drCHgXvO9BBn2K2U/KYHmw+hfNeJ5iKRS6xZ DhsZuJ5MkRF1ztSWmGkZuPWrtreEa0G6T82M/0vWUFGOLkp+QVQ1EjueA3pVdJPRDpOCB8 6Umsf10LSqrVFt1KphXLgtsdOQfY9aMhxgFyiArCNshKrfEyqTMd5QEVSNhmTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=