[Bug 225529] sysutils/py-salt: Add patches to get the hostuuid more reliably
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 29 11:25:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225529
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 at FreeBSD.org
Reporter: fk at fabiankeil.de
CC: christer.edwards at gmail.com
CC: christer.edwards at gmail.com
Flags: maintainer-feedback?(christer.edwards at gmail.com)
Created attachment 190153
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190153&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list