freebsd-dev/libexec/rc
Mateusz Piotrowski 97aeda2243 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:	allanjude (src)
Fixes:	33ff39796f Add zfskeys rc.d script for auto-loading encryption keys
MFC after:	3 days
Sponsored by:	Modirum
Sponsored by:	Klara Inc.
Differential Revision: https://reviews.freebsd.org/D34601
2022-03-18 14:53:52 +01:00
..
rc.d zfskeys: Support autoloading of keys stored on ZFS 2022-03-18 14:53:52 +01:00
Makefile Revert r359294 per manu's request 2020-03-25 08:35:55 +00:00
netstart Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
network.subr rc: network.subr improve network6_getladdr() 2021-12-13 22:12:44 +00:00
pccard_ether
rc rc: Allow the removal of firstboot_sentinel on read-only file systems 2022-02-10 12:43:19 -07:00
rc.bsdextended
rc.conf rc.d/ggated: Simplify service script 2022-03-04 17:50:42 +01:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless
rc.resume
rc.sendmail
rc.shutdown
rc.subr Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
rc.suspend