tpm2-abrmd icon indicating copy to clipboard operation
tpm2-abrmd copied to clipboard

Fails to Start - Unable to locate user

Open Joshndroid opened this issue 3 years ago • 0 comments

Just been going down the rabbit hole of trying to get this installed to utilise it within virtmanager to get windows 11 installed and running on the device. I seem to be hitting this error

systemctl status tpm2-abrmd ● tpm2-abrmd.service - TPM2 Access Broker and Resource Management Daemon Loaded: loaded (/lib/systemd/system/tpm2-abrmd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-10-13 18:32:02 AEST; 1min 12s ago Process: 5295 ExecStart=/usr/sbin/tpm2-abrmd (code=exited, status=217/USER) Main PID: 5295 (code=exited, status=217/USER)

Oct 13 18:32:02 joshndroid systemd[1]: Starting TPM2 Access Broker and Resource Management Daemon... Oct 13 18:32:02 joshndroid systemd[5295]: tpm2-abrmd.service: Failed to determine user credentials: No such process Oct 13 18:32:02 joshndroid systemd[5295]: tpm2-abrmd.service: Failed at step USER spawning /usr/sbin/tpm2-abrmd: No such process Oct 13 18:32:02 joshndroid systemd[1]: tpm2-abrmd.service: Main process exited, code=exited, status=217/USER Oct 13 18:32:02 joshndroid systemd[1]: tpm2-abrmd.service: Failed with result 'exit-code'. Oct 13 18:32:02 joshndroid systemd[1]: Failed to start TPM2 Access Broker and Resource Management Daemon.


systemctl start tpm2-abrmd Job for tpm2-abrmd.service failed because the control process exited with error code. See "systemctl status tpm2-abrmd.service" and "journalctl -xe" for details.


-- The job identifier is 2667. Oct 13 18:31:46 joshndroid sudo[4304]: pam_unix(sudo:session): session closed for user root Oct 13 18:31:54 joshndroid sudo[5289]: joshndroid : TTY=pts/0 ; PWD=/home/joshndroid ; USER=root ; COMMAND=/usr/bin/systemctl status tpm2-abrmd Oct 13 18:31:54 joshndroid sudo[5289]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 13 18:31:54 joshndroid sudo[5289]: pam_unix(sudo:session): session closed for user root Oct 13 18:32:02 joshndroid sudo[5292]: joshndroid : TTY=pts/0 ; PWD=/home/joshndroid ; USER=root ; COMMAND=/usr/bin/systemctl start tpm2-abrmd Oct 13 18:32:02 joshndroid sudo[5292]: pam_unix(sudo:session): session opened for user root by (uid=0) Oct 13 18:32:02 joshndroid systemd[1]: Starting TPM2 Access Broker and Resource Management Daemon...


ls -la /dev/tpm* crw-rw---- 1 root root 10, 224 Oct 13 18:19 /dev/tpm0 crw-rw---- 1 root root 253, 65536 Oct 13 18:19 /dev/tpmrm0


Running Ubuntu 20.04 Ryzen 5900X ASUS PRIME X570 TPM 2.0 firmware enabled in Bios

Unsure what is causing this issue as new to the whole TPM thing within linux.

Thanks for any help

Joshndroid avatar Oct 13 '21 08:10 Joshndroid