1SYSTEMD-CRYPTSETUP-GENERATsOyRs(t8e)md-cryptsetup-geneSrYaStToErMD-CRYPTSETUP-GENERATOR(8)
2
3
4

NAME

6       systemd-cryptsetup-generator - Unit generator for /etc/crypttab
7

SYNOPSIS

9       /usr/lib/systemd/system-generators/systemd-cryptsetup-generator
10

DESCRIPTION

12       systemd-cryptsetup-generator is a generator that translates
13       /etc/crypttab into native systemd units early at boot and when
14       configuration of the system manager is reloaded. This will create
15       systemd-cryptsetup@.service(8) units as necessary.
16
17       systemd-cryptsetup-generator implements systemd.generator(7).
18

KERNEL COMMAND LINE

20       systemd-cryptsetup-generator understands the following kernel command
21       line parameters:
22
23       luks=, rd.luks=
24           Takes a boolean argument. Defaults to "yes". If "no", disables the
25           generator entirely.  rd.luks= is honored only by initial RAM disk
26           (initrd) while luks= is honored by both the main system and the
27           initrd.
28
29       luks.crypttab=, rd.luks.crypttab=
30           Takes a boolean argument. Defaults to "yes". If "no", causes the
31           generator to ignore any devices configured in /etc/crypttab
32           (luks.uuid= will still work however).  rd.luks.crypttab= is honored
33           only by initial RAM disk (initrd) while luks.crypttab= is honored
34           by both the main system and the initrd.
35
36       luks.uuid=, rd.luks.uuid=
37           Takes a LUKS superblock UUID as argument. This will activate the
38           specified device as part of the boot process as if it was listed in
39           /etc/crypttab. This option may be specified more than once in order
40           to set up multiple devices.  rd.luks.uuid= is honored only by
41           initial RAM disk (initrd) while luks.uuid= is honored by both the
42           main system and the initrd.
43
44           If /etc/crypttab contains entries with the same UUID, then the
45           name, keyfile and options specified there will be used. Otherwise,
46           the device will have the name "luks-UUID".
47
48           If /etc/crypttab exists, only those UUIDs specified on the kernel
49           command line will be activated in the initrd or the real root.
50
51       luks.name=, rd.luks.name=
52           Takes a LUKS super block UUID followed by an "=" and a name. This
53           implies rd.luks.uuid= or luks.uuid= and will additionally make the
54           LUKS device given by the UUID appear under the provided name.
55
56           rd.luks.name= is honored only by initial RAM disk (initrd) while
57           luks.name= is honored by both the main system and the initrd.
58
59       luks.options=, rd.luks.options=
60           Takes a LUKS super block UUID followed by an "=" and a string of
61           options separated by commas as argument. This will override the
62           options for the given UUID.
63
64           If only a list of options, without an UUID, is specified, they
65           apply to any UUIDs not specified elsewhere, and without an entry in
66           /etc/crypttab.
67
68           rd.luks.options= is honored only by initial RAM disk (initrd) while
69           luks.options= is honored by both the main system and the initrd.
70
71       luks.key=, rd.luks.key=
72           Takes a password file name as argument or a LUKS super block UUID
73           followed by a "=" and a password file name.
74
75           For those entries specified with rd.luks.uuid= or luks.uuid=, the
76           password file will be set to the one specified by rd.luks.key= or
77           luks.key= of the corresponding UUID, or the password file that was
78           specified without a UUID.
79
80           rd.luks.key= is honored only by initial RAM disk (initrd) while
81           luks.key= is honored by both the main system and the initrd.
82

SEE ALSO

84       systemd(1), crypttab(5), systemd-cryptsetup@.service(8), cryptsetup(8),
85       systemd-fstab-generator(8)
86
87
88
89systemd 239                                    SYSTEMD-CRYPTSETUP-GENERATOR(8)
Impressum