We could potentially patch Charmed Kubernetes against this by not
reading /sys/class/dmi/id/product_uuid (https://github.com/charmed-
kubernetes/charm-kubernetes-
master/blob/master/reactive/kubernetes_master.py#L2244), but instead
using the workaround published by vmware at
https://kb.vmware.com/s/article/53609:

# dd if=/sys/firmware/dmi/entries/1-0/raw bs=1 count=24 status=none | python -c 
'import struct; import sys; print("UUID: %08X-%04X-%04X-%04X-%04X%08X" % 
struct.unpack(">8xLHHHHL", sys.stdin.read()))'
UUID: 44454C4C-5200-1058-8053-B4C04F573132

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851676

Title:
  dmidecode decodes /sys/class/dmi/id/product_serial incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1851676/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to