LINUX.ORG.RU

tpm

 ,


0

1

Настроил вроде как, но вот

rngd
не может получить доступ к /dev/tpm0

Выхлоп ls

crw------- 1 tss tss 10, 224 Dec 29 12:44 /dev/tpm0

Выхлоп tcsd

● tcsd.service - Manager for Trusted Computing resources
   Loaded: loaded (/usr/lib/systemd/system/tcsd.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-12-29 12:44:35 EET; 4h 43min ago
 Main PID: 489 (tcsd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/tcsd.service
           └─489 /usr/bin/tcsd -f -c /etc/tcsd.conf

Dec 29 12:44:35 HP systemd[1]: Started Manager for Trusted Computing resources.

Выхлоп rngd который хочу запустить наконец

● rngd.service - Hardware RNG Entropy Gatherer Daemon
   Loaded: loaded (/usr/lib/systemd/system/rngd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Dec 29 17:25:54 HP systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
Dec 29 17:25:54 HP rngd[9640]: Unable to open file: /dev/tpm0

Рут и основной юзер добавлены в группу tss

★★
: 1500051012:0;systemctl stop rngd
: 1500051018:0;systemctl disable rngd
: 1500051025:0;pacaur -S haveged
: 1500051045:0;systemctl start haveged
: 1500051052:0;systemctl enable haveged
: 1500051449:0;systemctl start rngd
: 1500051458:0;systemctl enable rngd
: 1500051473:0;systemctl status haveged.service
: 1500051506:0;systemctl disable haveged
: 1500051512:0;systemctl stop haveged
: 1500051583:0;sudo cat /proc/sys/kernel/random/entropy_avail
blitz ()