SYSTEMD-TPM2-CLEAR.SERVICE(8)
๐ฆ NAME ๐ฆ
systemd-tpm2-clear.service โ bestie, this is the thing that asks the TPM security chip to get cleared on the next boot ๐
โจ SYNOPSIS โจ
systemd-tpm2-clear.service
/usr/lib/systemd/systemd-tpm2-clear
๐ธ DESCRIPTION ๐ธ
Okay so systemd-tpm2-clear.service</p> is a service that requests the TPM to be reset by the PC firmware on the next boot. It does this through the TPM Physical Presence Interface, aka PPI (iykyk).
โ ๏ธ Real talk though: this service does not immediately execute the clear operation. It literally just asks the PC firmware to do it at next boot โ and at that point the user gets asked for confirmation before the operation actually happens. So nobody's wiping anything behind your back, periodt.
Typically this service gets hooked into the factory-reset.target unit, so it can request the TPM request before an immediate reboot. See Factory Reset[1] for more deets ๐
๐ OPTIONS ๐
Here's what it understands, bestie:
--gracefulโ Exit cleanly and execute no operation if the system does not possess a TPM chip. Like, no TPM? No drama, we just dip gracefully ๐ซถ
Added in version 258.
-h,--helpโ Print a short help text and exit. The classic. ๐--versionโ Print a short version string and exit. Also the classic. โจ
๐ KERNEL COMMAND LINE ๐
systemd-tpm2-clear</p> understands the following kernel command line parameters:
systemd.tpm2_allow_clear=โ Takes a boolean argument. Iffalsethe service will succeed, but instead of requesting the TPM clear operation from the PC firmware it will not execute any operation. If not specified it defaults totrue.
Added in version 258.
๐ SEE ALSO ๐
๐ NOTES ๐
- Factory Reset โ https://systemd.io/FACTORY_RESET
and that's the whole page, bestie โ brought to you by systemd 262.1 ๐ go forth and clear that TPM (eventually, on next boot, with user confirmation) ๐ง๐
๐ฆ where this page comes from
- arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms