-
Notifications
You must be signed in to change notification settings - Fork 100
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
Failed to acquire DBus name com.intel.tss2.Tabrmd #778
Comments
If you want to run it as a user different than tss (or root) you need to edit abrmd dbus config file "/etc/dbus-1/system.d/tpm2-abrmd.conf" and add the following section:
and then reload the new configuration with:
After that it should work. |
I already had that. The markdown hid it, but I fixed it in the original comment. It does not work. I tried your reload, tried rebooting a few times. I haven't gotten it to work on any Ubuntu, 16, 18, 20. I also tried rebuilding from source, tried adding "./configure --with-dbuspolicydir=/etc/dbus-1/system.d" No success. What does the error message mean? |
I tried running as root with the command
and it apparently got the same error: ** (tpm2-abrmd:2344): CRITICAL **: 18:41:21.359: Failed to acquire DBus name com.intel.tss2.Tabrmd. UID 0 must be allowed to "own" this name. Check DBus config and check that this is running as user tss or root. |
Could you check if apparmor isn't blocking access to dbus? |
There is no process with 'app' in the name. What else should I look for? If it matters, both gnome and MATE seem to have dbus processes, and both work. It may be something I'm doing wrong, but what. Three different Ubuntu distros all fail to run abrmd. |
apparmor is a linux kernel LSM, like SE Linux. You can check system logs as enabled state as discussed here: Did you try that script I sent you? |
I will add here that I seem to experience this same problem both by using WSL2 Ubuntu on Windows and using
And failure seem to be like described here. Looking at dbus etc. seem to indicate things are as they should, no AppArmor running either. Maybe on WSL2 some of the issue seem to be that one gets
if doing anything with Some more, maybe useful, information
Running
produces
Some issues may be relevant only to WSL2 on Windows and not I add this here in case others are trying to set up a TPM simulator either in GitHub Actions or globally and run into this problem. I used the instructions at https://wiki.ubuntu.com/TPM/Testing. This way there's at least some more search engine hits. |
For WSL2/ubuntu i've seen |
Facing same issue any update could help? |
Hello everyone, |
This is my variation on what seems to be a frequent issue. Ubuntu groovy, abrmd installed with apt.
Gives this error:
** (tpm2-abrmd:2275): CRITICAL **: 14:38:22.835: Failed to acquire DBus name com.intel.tss2.Tabrmd. UID 1000 must be allowed to "own" this name. Check DBus config and check that this is running as user tss or root.
UID 1000 is kgold
My tpm2-abrmd.conf was edited to add:
/etc/group has
The text was updated successfully, but these errors were encountered: