ds-identify uses the /sys filesystem which is linux specific and non-portable

Bug #1852442 reported by Mina Galić on 2019-11-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Undecided
Unassigned

Bug Description

On FreeBSD, /sys is a convenient link to /usr/src/sys; the kernel source code.

Especially for the DMI_ info, we should probably look into using `dmidecode` which at least on FreeBSD we already pull in as dependency:

    root@container-host-02:~ # pkg info -r dmidecode
    dmidecode-3.2:
     py36-cloud-init-19.2

The only problem i see is that many names don't map nicely.
For instance, sys_vendor is (either bios-vendor or) system-manufacturer.

Paride Legovini (paride) on 2019-11-15
Changed in cloud-init:
status: New → Triaged

This bug is believed to be fixed in cloud-init in version 19.4. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers