From 5c91fdf3f832a45db35b207da650c4aa12fafa75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 9 Apr 2021 09:27:42 +0200 Subject: [PATCH] man: document system-systemd\x2dcryptsetup.slice As discussed in https://github.com/systemd/systemd/pull/14235/commits/1dc85eff1d0dff18aaeaae530c91bf53f34b726e#r606821495, follow-up for commit 1dc85eff1d0dff18aaeaae530c91bf53f34b726e. --- man/systemd-cryptsetup@.service.xml | 15 +++++++++++---- "units/system-systemd\\x2dcryptsetup.slice" | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/man/systemd-cryptsetup@.service.xml b/man/systemd-cryptsetup@.service.xml index c70d6a9d3e..668208a01d 100644 --- a/man/systemd-cryptsetup@.service.xml +++ b/man/systemd-cryptsetup@.service.xml @@ -17,22 +17,29 @@ systemd-cryptsetup@.service + systemd-cryptsetup Full disk decryption logic systemd-cryptsetup@.service + system-systemd\x2dcryptsetup.slice /usr/lib/systemd/systemd-cryptsetup Description - systemd-cryptsetup@.service is a - service responsible for setting up encrypted block devices. It is - instantiated for each device that requires decryption for - access. + systemd-cryptsetup@.service is a service responsible for setting up encrypted + block devices. It is instantiated for each device that requires decryption for access. + + systemd-cryptsetup@.service instances are part of the + system-systemd\x2dcryptsetup.slice slice, which is destroyed only very late in the + shutdown procedure. This allows the encrypted devices to remain up until filesystems have been unmounted. + systemd-cryptsetup@.service will ask for hard disk passwords via the