Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 11:25:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225529] sysutils/py-salt: Add patches to get the hostuuid more reliably
Message-ID:  <bug-225529-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 225529
           Summary: sysutils/py-salt: Add patches to get the hostuuid more
                    reliably
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: fk@fabiankeil.de
                CC: christer.edwards@gmail.com
                CC: christer.edwards@gmail.com
             Flags: maintainer-feedback?(christer.edwards@gmail.com)

Created attachment 190153
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190153&action=
=3Dedit
sysutils/py-salt: Add patches to get the hostuuid more reliably

The attached patch lets _hw_data() validate the kenv output on
FreeBSD-based systems

Previously systems running in bhyve without smbios had a couple
of grains with the value 'kenv: unable to get ...'.

With the patch the kenv output is only used if it looks legit.

Additionally _hw_data() is modified to fallback to the hostuuid sysctl
when the FreeBSD-based system doesn't have a hardware uuid.

For systems running in bhyve there may not be a "hardware" uuid
but the hostuuid rc.d script whil generate a hostuuid from other
system properties and populate kern.hostuuid with it.

--=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-225529-13>