Comment 2 for bug 1667498

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : Re: Sync tpm2-tss from Debian unstable

Installation works without issues:

$ sudo apt install libsapi0 libsapi-utils

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libsapi-utils libsapi0
0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
Need to get 132 kB of archives.
After this operation, 550 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/cyphermox/ppa/ubuntu zesty/main amd64 libsapi0 amd64 1.0-1 [42.6 kB]
Get:2 http://ppa.launchpad.net/cyphermox/ppa/ubuntu zesty/main amd64 libsapi-utils amd64 1.0-1 [88.9 kB]
Fetched 132 kB in 0s (143 kB/s)
Selecting previously unselected package libsapi0.
(Reading database ... 286282 files and directories currently installed.)
Preparing to unpack .../libsapi0_1.0-1_amd64.deb ...
Unpacking libsapi0 (1.0-1) ...
Selecting previously unselected package libsapi-utils.
Preparing to unpack .../libsapi-utils_1.0-1_amd64.deb ...
Unpacking libsapi-utils (1.0-1) ...
Setting up libsapi0 (1.0-1) ...
Setting up libsapi-utils (1.0-1) ...
tpm2-resourcemgr.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.24-7ubuntu2) ...
Processing triggers for man-db (2.7.6.1-1) ...

$ sudo systemctl start tpm2-resourcemgr.service

$ sudo systemctl status tpm2-resourcemgr.service

● tpm2-resourcemgr.service - TPM resource manager daemon
   Loaded: loaded (/lib/systemd/system/tpm2-resourcemgr.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2017-02-23 17:24:55 EST; 7s ago
 Main PID: 14646 (resourcemgr)
    Tasks: 2 (limit: 4915)
   Memory: 348.0K
      CPU: 4ms
   CGroup: /system.slice/tpm2-resourcemgr.service
           └─14646 /usr/sbin/resourcemgr

Feb 23 17:24:56 demeter resourcemgr[14646]: maxActiveSessions = 64
Feb 23 17:24:56 demeter resourcemgr[14646]: gapMaxValue = 65535
Feb 23 17:24:56 demeter resourcemgr[14646]: socket created: 0x4
Feb 23 17:24:56 demeter resourcemgr[14646]: bind to IP address:port: 127.0.0.1:2324
Feb 23 17:24:56 demeter resourcemgr[14646]: Other CMD server listening to socket: 0x4
Feb 23 17:24:56 demeter resourcemgr[14646]: socket created: 0x5
Feb 23 17:24:56 demeter resourcemgr[14646]: bind to IP address:port: 127.0.0.1:2323
Feb 23 17:24:56 demeter resourcemgr[14646]: TPM CMD server listening to socket: 0x5
Feb 23 17:24:56 demeter resourcemgr[14646]: Starting SockServer (TPM CMD), socket: 0x5.
Feb 23 17:24:56 demeter resourcemgr[14646]: Starting SockServer (Other CMD), socket: 0x4.