From owner-freebsd-ports-bugs@freebsd.org Mon Aug 21 19:17:02 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8D07DEFBA3 for ; Mon, 21 Aug 2017 19:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C64B9810F9 for ; Mon, 21 Aug 2017 19:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7LJH2ba089756 for ; Mon, 21 Aug 2017 19:17:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221698] emulators/open-vm-tools: FreeBSD 11 VM (pre hw version 14) are reported as "FreeBSD Pre-11" Date: Mon, 21 Aug 2017 19:17:02 +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 Only Me X-Bugzilla-Who: jwolfe@vmware.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jpaetzel@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 attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2017 19:17:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221698 Bug ID: 221698 Summary: emulators/open-vm-tools: FreeBSD 11 VM (pre hw version 14) are reported as "FreeBSD Pre-11" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jpaetzel@FreeBSD.org Reporter: jwolfe@vmware.com Flags: maintainer-feedback?(jpaetzel@FreeBSD.org) Assignee: jpaetzel@FreeBSD.org Created attachment 185647 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185647&action= =3Dedit patch for lib/misc/hostinfoPosix.c VMware virtual HW version 14 added a distinction between FreeBSD 11 and lat= er and FreeBSD 10 and earlier system. FreeBSD VMs created prior to hw version= 14 may be reported as a "FreeBSD Pre-11" guest based on the guestOS type selec= ted when the VM was created. The accompanying patches to open-vm-tools 10.1.10 will allow the FreeBSD release to be verified through the running open-vm-tools and reported correctly. Before the patch: vim-cmd vmsvc/get.guest will report: | - open-vm-tools 10.1.10 GA: | (vim.vm.GuestInfo) { | toolsStatus =3D "toolsOk", | toolsVersionStatus =3D "guestToolsUnmanaged", | toolsVersionStatus2 =3D "guestToolsUnmanaged", | toolsRunningStatus =3D "guestToolsRunning", | toolsVersion =3D "2147483647", | toolsInstallType =3D "guestToolsTypeUnknown", | toolsUpdateStatus =3D (vim.vm.GuestInfo.ToolsUpdateStatus) null, | guestId =3D "freebsd64Guest", | guestFamily =3D "otherGuestFamily", | guestFullName =3D "FreeBSD Pre-11 versions (64-bit)", <=3D=3D=3D=3D=3D= =3D=3D wrong Following application of the two patches: | (vim.vm.GuestInfo) { | toolsStatus =3D "toolsOk", | toolsVersionStatus =3D "guestToolsUnmanaged", | toolsVersionStatus2 =3D "guestToolsUnmanaged", | toolsRunningStatus =3D "guestToolsRunning", | toolsVersion =3D "2147483647", | toolsInstallType =3D "guestToolsTypeUnknown", | toolsUpdateStatus =3D (vim.vm.GuestInfo.ToolsUpdateStatus) null, | guestId =3D "freebsd11_64Guest", | guestFamily =3D "otherGuestFamily", | guestFullName =3D "FreeBSD 11 or later versions (64-bit)", The patches were generated with "p4 diff -du" from common source trees. T= he actual location in the open-vm-tools source release is in the patch file na= me. --=20 You are receiving this mail because: You are the assignee for the bug.=