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: 33ff39796ffe 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
..
2019-07-13 16:07:38 +00:00
2021-01-28 17:24:24 +00:00
2022-03-17 20:12:04 +01:00
2022-03-17 20:12:04 +01:00
2022-03-17 20:12:04 +01:00
2022-03-17 20:12:04 +01:00
2022-03-13 18:57:29 +01:00
2022-03-17 20:12:04 +01:00
2021-09-29 21:58:27 -06:00
2019-04-10 07:51:13 +00:00
2019-04-10 07:51:13 +00:00
2022-03-13 18:57:29 +01:00
2021-04-05 16:40:54 +01:00
2021-11-21 08:54:45 -07:00
2021-02-23 13:19:44 +00:00
2022-03-09 19:43:14 -05:00
2021-01-15 12:44:06 -08:00
2022-03-13 18:57:29 +01:00
2022-03-17 20:12:04 +01:00
2021-08-17 21:50:18 +00:00
2022-02-15 14:18:23 -08:00
2021-12-14 06:18:37 -08:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:29 +01:00
2022-03-17 20:12:04 +01:00
2021-02-22 11:20:18 -08:00
2021-01-11 12:36:54 -08:00
2021-05-18 04:03:15 +07:00
2020-08-11 23:36:38 +00:00
2020-08-11 23:36:38 +00:00
2020-07-23 17:39:45 +00:00
2019-05-06 08:30:53 +00:00
2021-04-12 15:28:48 +01:00
2021-04-12 15:28:48 +01:00
2022-03-13 18:57:31 +01:00
2021-04-12 15:28:48 +01:00
2021-05-05 15:19:41 -06:00
2021-04-11 15:19:33 +01:00
2022-03-13 18:57:29 +01:00
2021-11-13 16:15:14 +01:00
2022-03-13 18:57:31 +01:00
2021-03-10 15:53:25 +00:00
2019-10-02 11:40:40 +00:00
2022-01-23 14:17:40 -08:00
2022-02-27 21:14:52 -07:00
2019-04-10 07:51:13 +00:00
2019-04-10 07:51:13 +00:00
2021-09-22 22:09:36 +02:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:29 +01:00
2020-12-17 00:20:57 +00:00
2022-01-23 14:17:40 -08:00
2020-07-13 13:44:54 +00:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:31 +01:00
2020-01-08 23:34:50 +00:00
2020-08-11 23:36:38 +00:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:29 +01:00
2021-11-16 16:02:53 -08:00
2022-01-18 06:21:00 -08:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:29 +01:00
2022-03-13 18:57:31 +01:00
2022-03-13 18:57:31 +01:00
2021-05-26 18:30:24 +07:00
2021-11-20 15:56:43 +07:00
2022-03-13 18:57:31 +01:00
2021-04-12 15:28:48 +01:00
2021-05-12 01:59:10 +00:00
2022-03-13 18:57:29 +01:00
2021-05-19 20:02:31 +07:00
2019-10-02 11:40:40 +00:00
2020-04-15 14:07:33 +00:00
2022-01-23 14:17:40 -08:00
2020-10-25 18:27:21 +00:00
2021-05-19 20:02:31 +07:00
2021-04-12 15:18:17 +01:00
2021-02-18 14:38:01 -08:00
2021-02-18 14:38:01 -08:00
2021-01-19 12:56:23 +01:00
2019-10-03 11:23:10 +00:00
2021-09-08 17:20:52 -07:00
2022-03-18 14:53:52 +01:00
2020-09-21 09:01:10 +00:00
2022-03-17 20:12:04 +01:00
2021-07-28 16:26:45 +00:00
2021-04-05 09:25:04 -07:00
2020-09-04 23:36:43 +00:00