phosphor-dbus-interfaces ChannelAccess regression?
It appears there has been a regression in phosphor-dbus-interfaces in how it combines two different YAML files. My guess is the problem occurred when the transition from CMake to Meson was performed. I'd appreciate some guidance from someone more familiar with how Meson works.
Details:
In dunfell, and CMake when I issue this command from the BMC console:
busctl call -j xyz.openbmc_project.Network /xyz/openbmc_project/network org.freedesktop.DBus.ObjectManager GetManagedObjects
I receive:
...
"/xyz/openbmc_project/network/eth0" : { "org.freedesktop.DBus.Peer" : {},
"org.freedesktop.DBus.Introspectable" : {}, "org.freedesktop.DBus.Properties" : {},
*"xyz.openbmc_project.Channel.ChannelAccess" : {**
** "MaxPrivilege" : {** ** "type" : "s",** ** "data" :
"priv-admin"**
** }**
** },*
"xyz.openbmc_project.Collection.DeleteAll" : {},
...
The same command issued from gatesgarth, and Meson, I receive:
...
"/xyz/openbmc_project/network/eth0" : { "org.freedesktop.DBus.Peer" : {},
"org.freedesktop.DBus.Introspectable" : {}, "org.freedesktop.DBus.Properties" : {},
"xyz.openbmc_project.Collection.DeleteAll" : {},
...
Any pointers on how to restore the missing D-Bus data?
Signature · 6 lines
Johnathan Mantey Senior Software Engineer *azad te**chnology partners* Contributing to Technology Innovation since 1992 Phone: (503) 712-6764 Email: [email protected] <mailto:[email protected]>
Quoted 4 lines · Johnathan Mantey
It appears there has been a regression in phosphor-dbus-interfaces in how it combines two different YAML files. My guess is the problem occurred when the transition from CMake to Meson was performed. I'd appreciate some guidance from someone more familiar with how Meson works.
phosphor-dbus-interfaces doesn't do any combining of YAML files. They're all processed one at a time to create a C++/header pair which mostly just contains a single class to represent the dbus interface defined in the YAML.
Quoted 36 lines
Details:
In dunfell, and CMake when I issue this command from the BMC console:
busctl call -j xyz.openbmc_project.Network /xyz/openbmc_project/network org.freedesktop.DBus.ObjectManager GetManagedObjectsI receive:
...
"/xyz/openbmc_project/network/eth0" : { "org.freedesktop.DBus.Peer" : {},
"org.freedesktop.DBus.Introspectable" : {}, "org.freedesktop.DBus.Properties" : {},
*"xyz.openbmc_project.Channel.ChannelAccess" : {**
** "MaxPrivilege" : {** ** "type" : "s",** ** "data" :
"priv-admin"**
** }**
** },*
"xyz.openbmc_project.Collection.DeleteAll" : {},...
The same command issued from gatesgarth, and Meson, I receive:
...
"/xyz/openbmc_project/network/eth0" : { "org.freedesktop.DBus.Peer" : {},
"org.freedesktop.DBus.Introspectable" : {}, "org.freedesktop.DBus.Properties" : {},
"xyz.openbmc_project.Collection.DeleteAll" : {},
...
Quoted 3 lines
Any pointers on how to restore the missing D-Bus data?
This would likely be a change in whatever daemon is presenting these interfaces for you. Do you know where they're coming from? I would have expected phosphor-networkd but I don't see anything in their code related to ChannelAccess.
Doing a search on github I only see some IPMI-related code. I don't know why eth0 would be represented by those.
https://github.com/search?q=org%3Aopenbmc+ChannelAccess&type=code
Signature · 1 line
Patrick Williams