Skip to content

tpm2-abrmd has no valid nodes in dbus #843

Description

@xcgj

I compiled tpm2-abrmd based on tpm2-abrmd-3.0.0 and used tpm2-tss-4.0.1 as the dependency library.
The tpm2-abrmd service is compiled and installed by running the following command:

$ ./configure --enable-debug=yes --disable-silent-rules --enable-dependency-tracking --disable-dlclose
$ make
$ sudo make install
$ sudo ldconfig
$ sudo pkill -HUP dbus-daemon
$ systemctl daemon-reload

However, the tpm2-abrmd service was not automatically started successfully.
So I started the tpm2-abrmd service manually using 'systemctl start tpm2-abrmd' command.
After starting, tpm2-abrmd can be found in dbus-daemon:

# dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=1705496956.554515 sender=org.freedesktop.DBus -> destination=:1.70 serial=3 reply_serial=2
   array [
      string "org.freedesktop.DBus"
      ......
      string "com.intel.tss2.Tabrmd"
   ]

But when querying the dbus which methods tpm2-abrmd supports, the dbus returns this message:

# dbus-send --system --dest=com.intel.tss2.Tabrmd --type=method_call --print-reply /com/intel/tss2/Tabrmd/Tcti org.freedesktop.DBus.Introspectable.Introspect
method return time=1705496833.375409 sender=:1.69 -> destination=:1.68 serial=7 reply_serial=2
   string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
                      "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- GDBus 2.68.1 -->
<node>
</node>
"

I think there is a problem with DBus returning empty node. Is there any solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions