# mkinitcpio \>= 42 更新在基于TPM2解锁LUKS的设备上可能需要手动干预

**URL:** <https://forum.archlinuxcn.org/t/topic/17303>\
**Category:** 新闻和公告\
**Tags:** 新闻, RSS\
**Created:** [September 22, 2026, 11:57am UTC](https://forum.archlinuxcn.org/t/topic/17303 "2026-09-22T11:57:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RSS](https://forum.archlinuxcn.org/user_avatar/forum.archlinuxcn.org/rss/32/952_2.png) [@RSS](https://forum.archlinuxcn.org/u/RSS)\
**Post date:** [September 22, 2026, 11:57am UTC](https://forum.archlinuxcn.org/t/topic/17303/1 "2026-09-22T11:57:24Z")

</div>

从包版本 `42-1` 起，mkinitcpio 的 systemd 挂钩现在也包括了 `systemd-pcrosseparator.service` 服务（[按照 systemd v261 的计划](https://github.com/systemd/systemd/blob/1f9d56a7ab1d814044ac02939b42fd0efb99a8ab/NEWS#L69)）。

这会影响 PCR 值 `0-7`、`9` 和 `12-14` 的测量。如果您配置了 systemd 钩子，并且使用的 LUKS 分区解锁依赖于这些值，您需要重新 enroll 所使用的 [TPM2](https://wiki.archlinux.org/title/Trusted_Platform_Module)。

如需指导，当使用固定值时，请参考 [systemd-cryptenroll(1)](https://man.archlinux.org/man/systemd-cryptenroll.1)，或 [ArchWiki 上的 systemd-cryptenroll 文章](https://wiki.archlinux.org/title/Systemd-cryptenroll)。当依赖自定义策略并禁用了 `systemd-pcrlock-make-policy.service` 时，请参考 [systemd-pcrlock(8)](https://man.archlinux.org/man/core/systemd/systemd-pcrlock.8)。

* * *
这是对位于 [https://www.archlinuxcn.org/mkinitcpio-42-requires-manual-intervention-for-tpm2-based-unlocking-of-luks-devices/](https://www.archlinuxcn.org/mkinitcpio-42-requires-manual-intervention-for-tpm2-based-unlocking-of-luks-devices/) 之原始条目的讨论话题。
