facebook/openbmc

facebook bmc how to use dbus?

Opened this issue · 1 comments

I deployed the smbios-mdr component in the bmc of facebook, and the following error was reported when I ran it. How can I solve this?

root@bmc.:~# smbiosmdrv2app
terminate called after throwing an instance of 'sdbusplus::exception::SdBusError'
  what():  sd_bus_request_name: org.freedesktop.DBus.Error.AccessDenied: Permission denied
Aborted (core dumped)
root@bmc.:~# ^C
~root@bmc.:~# busctl
NAME                       PID PROCESS         USER             CONNECTION    UNIT                                        SESSION DESCRIPTION
:1.0                       228 systemd-resolve systemd-resolve  :1.0          systemd-resolved.service                    -       -
:1.1                       230 systemd-timesyn systemd-timesync :1.1          systemd-timesyncd.service                   -       -
:1.2                         1 systemd         root             :1.2          init.scope                                  -       -
:1.4                       396 systemd-network systemd-network  :1.4          systemd-networkd.service                    -       -
:1.75                     1402 busctl          root             :1.75         sshd@0-240.1.1.2:22-240.1.1.1:39954.service -       -
org.freedesktop.DBus         1 systemd         root             -             init.scope                                  -       -
org.freedesktop.hostname1    - -               -                (activatable) -                                           -       -
org.freedesktop.network1   396 systemd-network systemd-network  :1.4          systemd-networkd.service                    -       -
org.freedesktop.resolve1   228 systemd-resolve systemd-resolve  :1.0          systemd-resolved.service                    -       -
org.freedesktop.systemd1     1 systemd         root             :1.2          init.scope                                  -       -
org.freedesktop.timedate1    - -               -                (activatable) -                                           -       -
org.freedesktop.timesync1  230 systemd-timesyn systemd-timesync :1.1          systemd-timesyncd.service                   -       -
root@bmc.:~#
···