freebsd-dev/etc
Richard Laager 62663fb7ec Fix another dependency loop
zfs-load-key-DATASET.service was gaining an
After=systemd-journald.socket due to its stdout/stderr going to the
journal (which is the default).  systemd-journald.socket has an After
(via RequiresMountsFor=/run/systemd/journal) on -.mount.  If the root
filesystem is encrypted, -.mount gets an After
zfs-load-key-DATASET.service.

By setting stdout and stderr to null on the key load services, we avoid
this loop.

Reviewed-by: Antonio Russo <antonio.e.russo@gmail.com>
Reviewed-by: InsanePrawn <insane.prawny@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #10356
Closes #10388
2020-08-28 10:17:14 -07:00
..
default Remove vestigial settings related to initramfs 2020-08-22 11:04:49 -07:00
init.d Centralize variable substitution 2020-07-14 17:33:44 -07:00
modules-load.d Centralize variable substitution 2020-07-14 17:33:44 -07:00
sudoers.d Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
systemd Fix another dependency loop 2020-08-28 10:17:14 -07:00
zfs Centralize variable substitution 2020-07-14 17:33:44 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00