【发布时间】:2020-09-22 20:53:13
【问题描述】:
在 openbmc 上工作并尝试通过 busctl 创建一个日志条目。我看到 Create 调用需要 ssa{ss}:
# busctl introspect xyz.openbmc_project.Logging
/xyz/openbmc_project/logging xyz.openbmc_project.Logging.Create
interface - - - .Create
method ssa{ss} - -
但是,我尝试拨打电话失败了:
# busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging xyz.openbmc_project.Logging.Create Create ssa{ss} 1 "This is a Test" "xyz.openbmc_project.Logging.Entry.Level.Error" "ARG1" "ARG2"
Failed to parse 'xyz.openbmc_project.Logging.Entry.Level.Error' number of array entries: Invalid argument
猜测问题与参数的格式有关。有什么想法吗?
【问题讨论】: