Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpm2-abrmd has no valid nodes in dbus #843

Open
xcgj opened this issue Jan 17, 2024 · 0 comments
Open

tpm2-abrmd has no valid nodes in dbus #843

xcgj opened this issue Jan 17, 2024 · 0 comments

Comments

@xcgj
Copy link

xcgj commented Jan 17, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant