From: Zbigniew Jędrzejewski-Szmek Date: Tue, 29 Sep 2020 10:16:12 +0000 (+0200) Subject: man: in systemd-nspawn(1), refer to systemd.exec(5) for the shared stuff X-Git-Tag: v247-rc1~145^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e7600cfd73e428d2cf71cad105d0fc79bd33e0b;p=thirdparty%2Fsystemd.git man: in systemd-nspawn(1), refer to systemd.exec(5) for the shared stuff We should avoid duplicating lengthy description of very similar concepts. --root-hash-sig follows the same semantics as RootHashSig=, so just refer the reader to the other man page. --root-hash doesn't implement the same features as RootHash=, so we can't fully replace the description, but let's give the user a hint to look at the other man page too. For #17177. --- diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index cfdd27d8c4c..854559cb615 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -405,24 +405,20 @@ user.verity.usrhash extended file attribute or via a .usrhash file adjacent to the disk image, following the same format and logic as for the root hash for the root file system described here. Note that there's currently no switch to configure the root hash for - the /usr/ from the command line. + the /usr/ from the command line. + + Also see the RootHash= option in + systemd.exec5. + - Takes a PKCS7 formatted binary signature of the option as a path - to a DER encoded signature file or as an ASCII base64 string encoding of the DER encoded signature, prefixed - by base64:. The dm-verity volume will only be opened if the signature of the root hash hex - string is valid and done by a public key present in the kernel keyring. If this option is not specified, but a - file with the .roothash.p7s suffix is found next to the image file, bearing otherwise the - same name (except if the image has the .raw suffix, in which case the signature file must - not have it in its name), the signature is read from it and automatically used. - - The root hash for the /usr/ file system included in a disk image may be - configured via a .usrhash.p7s file adjacent to the disk image. There's currently - no switch to configure the signature of the root hash of the /usr/ file system - from the command line. + Takes a PKCS7 signature of the option. + The semantics are the same as for the RootHashSignature= option, see + systemd.exec5. +