opnsense-src/libexec/rc
Chuck Tuffli d878a66a9a wait for device mounts in zpool and dumpon
If the root file system is composed from multiple devices, wait for
devices to be ready before running zpool and dumpon rc scripts.

An example of this is if the bulk of the root file system exists on a
fast device (e.g. NVMe) but the /var directory comes from a ZFS dataset
on a slower device (e.g. SATA). In this case, it is possible that the
zpool import may run before the slower device has finished being probed,
leaving the system in an intermediate state.

Fix is to add root_hold_wait to the zpool and dumpon (which has a
similar issue) rc scripts.

PR:		242189

(cherry picked from commit f30f11f878)
2022-11-19 09:40:48 -08:00
..
rc.d wait for device mounts in zpool and dumpon 2022-11-19 09:40:48 -08:00
Makefile Revert r359294 per manu's request 2020-03-25 08:35:55 +00:00
netstart
network.subr rc: network.subr improve network6_getladdr() 2021-12-29 16:01:46 +00:00
pccard_ether
rc Replace literal uses of /usr/local with a variable 2020-11-03 12:29:10 +00:00
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf Remove references to timed(8) 2022-11-14 10:18:52 +01:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr rc.subr: Make sure oomprotect protects existing children 2022-07-22 02:09:10 +02:00
rc.suspend