gpt4 book ai didi

ubuntu - TPM 与裤子安装问题

转载 作者:行者123 更新时间:2023-12-04 19:11:47 24 4
gpt4 key购买 nike

我想为磁盘加密设置我的 TPM。我有具有 TPM 2.0 的 Intel NUC7i5DNKE 计算机。这是在内核版本 4.15.0-29 的机器上安装 Ubuntu 16.04.5 的干净桌面。

这是正在发生的事情。谁能知道出了什么问题?如果您伸出援手,我将不胜感激。谢谢!

root@deniz-NUC7i5DNKE:/home/deniz/linux-luks-tpm-boot# sudo apt-get 

install trousers tpm-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
trousers is already the newest version (0.3.13-4).
tpm-tools is already the newest version (1.3.8-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "sv_SE.UTF-8",
LC_MONETARY = "sv_SE.UTF-8",
LC_CTYPE = "UTF-8",
LC_ADDRESS = "sv_SE.UTF-8",
LC_TELEPHONE = "sv_SE.UTF-8",
LC_NAME = "sv_SE.UTF-8",
LC_MEASUREMENT = "sv_SE.UTF-8",
LC_IDENTIFICATION = "sv_SE.UTF-8",
LC_NUMERIC = "sv_SE.UTF-8",
LC_PAPER = "sv_SE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up trousers (0.3.13-4) ...
Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
invoke-rc.d: initscript trousers, action "start" failed.
● trousers.service - LSB: starts tcsd
Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-10-23 16:54:53 CEST; 3ms ago
Docs: man:systemd-sysv-generator(8)
Process: 28138 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

Oct 23 16:54:53 deniz-NUC7i5DNKE systemd[1]: Starting LSB: starts tcsd...
Oct 23 16:54:53 deniz-NUC7i5DNKE trousers[28138]: * Starting Trusted Computing daemon tcsd
Oct 23 16:54:53 deniz-NUC7i5DNKE tcsd[28144]: TCSD TDDL[28144]: TrouSerS ioctl: (25) Inappropriate ioctl for device
Oct 23 16:54:53 deniz-NUC7i5DNKE tcsd[28144]: TCSD TDDL[28144]: TrouSerS Falling back to Read/Write device support.
Oct 23 16:54:53 deniz-NUC7i5DNKE trousers[28138]: ...fail!
Oct 23 16:54:53 deniz-NUC7i5DNKE systemd[1]: trousers.service: Control process exited, code=exited status=30
Oct 23 16:54:53 deniz-NUC7i5DNKE systemd[1]: Failed to start LSB: starts tcsd.
Oct 23 16:54:53 deniz-NUC7i5DNKE systemd[1]: trousers.service: Unit entered failed state.
Oct 23 16:54:53 deniz-NUC7i5DNKE systemd[1]: trousers.service: Failed with result 'exit-code'.
dpkg: error processing package trousers (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tpm-tools:
tpm-tools depends on trousers; however:
Package trousers is not configured yet.

dpkg: error processing package tpm-tools (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
trousers
tpm-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

PS。我已经激活了 TPM,并且我拥有的 NUC PC 根据其规范具有 TPM2.0。

最佳答案

看起来你正试图用裤子设置 luks,但你有一个 TPM 2.0 芯片。 Trousers 是 TPM 1.2 的 TSS 实现,不适用于 TPM 2.0(仅适用于 TPM 1.2)。因此,您必须安装 TPM 2.0 TSS 或一组兼容的工具,并使其与 luks 一起使用。 tpm2-tss是一个很好的起点,这是一个很好的设置步骤列表:https://github.com/vchatterji/tpm2-luks

关于ubuntu - TPM 与裤子安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52968070/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com