freebsd-src/libexec
Mateusz Piotrowski f23b24655f zfskeys: Support autoloading of keys stored on ZFS
The zfskeys service script starts before the zfs service script, so that
dataset decryption keys are available when `zfs mount -a` is run. One of
the potential edge cases of this design is that if a key is stored on
ZFS it won't be loaded until `zfs mount -a` is issued.

In order to address that let's try to load the additional keys and mount
related ZFS datasets after the zfs script finishes its standard mounting
procedure.

PR:		262468
Reported by:	Graham Perrin <grahamperrin@gmail.com>
Reviewed by:	allanjude
Approved by:	re (delphij)
Approved by:	allanjude (src)
Fixes:	33ff39796f Add zfskeys rc.d script for auto-loading encryption keys
Sponsored by:	Modirum
Sponsored by:	Klara Inc.
Differential Revision: https://reviews.freebsd.org/D34601

(cherry picked from commit 97aeda2243)
(cherry picked from commit 2411090f69)
2022-03-23 16:27:44 -04:00
..
atf pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
atrun
blacklistd-helper
bootpd bootp: remove the USE_BFUNCS knob 2021-10-06 02:14:39 -05:00
comsat
dma Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
fingerd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
flua stand: lua: enhance lfs.dir() to speed up kernels_autodetect 2021-02-03 00:55:47 -06:00
ftpd pkgbase: Create a FreeBSD-ftpd package 2022-01-05 18:23:52 +01:00
getty pkgbase: Put more binaries/lib in runtime 2022-01-05 18:23:51 +01:00
hyperv pkgbase: Create a FreeBSD-hyperv package 2022-01-05 18:23:50 +01:00
mail.local
makewhatis.local
mknetid
phttpget phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
pppoed
rbootd Fix the following -Werror warning from clang 10.0.0 in rbootd: 2020-01-28 19:19:55 +00:00
rc zfskeys: Support autoloading of keys stored on ZFS 2022-03-23 16:27:44 -04:00
revnetgroup
rpc.rquotad pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-elf rtld.1: Fix misplaced text 2022-02-28 09:05:30 -05:00
rtld-elf32 libcompat: Correct rtld MLINKS 2019-11-12 22:31:59 +00:00
save-entropy Reduce disk write load in /usr/libexec/save-entropy. 2019-11-30 20:06:53 +00:00
smrsh
talkd Regularize my copyright notice 2019-12-04 16:56:11 +00:00
tcpd pkgbase: Create a FreeBSD-tcpd package 2022-01-05 18:23:52 +01:00
telnetd pkgbase: Create a FreeBSD-telnet package 2022-01-05 18:23:49 +01:00
tests
tftp-proxy (t)ftp-proxy: use libpfctl 2021-05-07 10:15:42 +02:00
tftpd When receiving a file having a length, which is a mulitple of the blocksize, 2020-12-15 09:43:18 +00:00
ulog-helper
ypxfr pkgbase: Put yellow pages programs to its own package 2022-01-05 18:23:51 +01:00
Makefile phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00