SYSTEMD-I....SERVICE(8)

๐Ÿ’– SYSTEMD-I....SERVICE(8) โ€” the manual, but make it make sense ๐Ÿ’–

okay bestie, gather round, because today we're talking about systemd-integritysetup@.service and its little command-line bestie systemd-integritysetup. this is your disk integrity protection logic era and honestly? iconic. โœจ


๐ŸŽ€ NAME ๐ŸŽ€

systemd-integritysetup@.service, systemd-integritysetup โ€” literally just Disk integrity protection logic. that's the whole vibe. that's the job. ๐Ÿ›ก๏ธ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

systemd-integritysetup@.service

/usr/lib/systemd/systemd-integritysetup

so there's the unit, and there's the binary that does the actual work. two names, one mission, no cap. ๐Ÿ’…


โœจ DESCRIPTION โœจ

okay so systemd-integritysetup@.service is a service that is responsible for setting up integrity protected block devices. that's its whole main character arc. it's not a one-size-fits-all situation either โ€” it should be instantiated for each device that requires integrity protection. one device, one instance, one little unit doing its thing. ๐Ÿฆ‹

and here's the glow-up moment: at early boot, and also whenever the system manager configuration is reloaded, entries from integritytab(5) get converted into systemd-integritysetup@.service units by systemd-integritysetup-generator(8). automatic. effortless. slay. ๐Ÿ”ฅ

and then systemd-integritysetup@.service calls systemd-integritysetup. that's it, that's the chain. the service is the messenger, the binary is the doer. ๐Ÿซถ


๐Ÿ’… COMMANDS ๐Ÿ’…

these are the commands that systemd-integritysetup actually understands. no guessing, no improvising, these are the ones:

  • attach volume device [key-file|-] [option(s)|-] โ€” creates a block device volume using device. if you wanna go deeper (and you know you do), go peek at integritytab(5) and the Kernel dm-integrity documentation for the details. ๐Ÿ“š

Added in version 250.

  • detach volume โ€” detaches (a.k.a. destroys) the block device volume. it's giving breakup energy. bye bestie ๐Ÿ‘‹

Added in version 250.

  • help โ€” prints short information about command syntax. your little pocket cheat sheet. ๐ŸŽ€

Added in version 250.


๐Ÿ” SEE ALSO ๐Ÿ”

go read these next, they're the extended universe:


๐Ÿ“ NOTES ๐Ÿ“

  1. Kernel dm-integrity โ€” https://docs.kernel.org/admin-guide/device-mapper/dm-integrity.html

lowkey important reminder: attach, detach, and help all landed in version 250, so if you're on something ancient, that's a you problem bestie ๐Ÿ’€

and that's the whole page!! this one came from systemd 262.1, and yeah the header on the original literally says SYSTEMD-I....SERVICE(8) โ€” the abbreviation is doing its own thing, we respect it. ๐ŸŒˆ stay encrypted, stay protected, and remember: your integrity is non-negotiable. mwah ๐Ÿ’–๐Ÿฆ‹โœจ

๐Ÿ“ฆ 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