system_232 upgrade to 234?

Yong Li yong.b.li at linux.intel.com
Wed Dec 13 13:34:17 AEDT 2017


Hi All,

 I am working on the replacement for
chassis_control.py(https://github.com/openbmc/skeleton/blob/master/pychassis
ctl/chassis_control.py), using
https://github.com/openbmc/phosphor-state-manager. And would like to add the
uuid property into chassis-stats-manager.

I found this uuid property is using the same content in /etc/machine-id(from
the above chassis_contro.py). Based on
https://www.freedesktop.org/software/systemd/man/machine-id.html: This ID
uniquely identifies the host. It should be considered "confidential", and
must not be exposed in untrusted environments, in particular on the network.
And there is a new API(sd_id128_get_machine_app_specific(3)) to generate an
application specific ID.

It seems to me that we need to use the new systemd API to change the current
uuid generation logic. I can cherry-pick several systemd patch files to
backport the new API from 234 to 232. Or can we just upgrade the current
systemd_232 to 234(from yocto 2.4)? Any doc/plan about the upgrade?

Thanks for your comments/suggestions!

Yong Li




More information about the openbmc mailing list