rc: Update dependencies for zpool scripts

After commit 900bc02063, zpool depends on mountcritlocal.  zpoolreguid
and zpoolupgrade depend on zpool and want to run before mountcritcycle,
so we have a pair of cycles.

Update zpoolreguid and zpoolupgrade to avoid this.

Reviewed by:	des
MFC after:	3 days
Fixes:	900bc02063 ("rc.d/zpool: change mountcritlocal dep from BEFORE to REQUIRE")
Differential Revision:	https://reviews.freebsd.org/D52953
This commit is contained in:
Mark Johnston 2025-10-08 12:50:54 +00:00
parent 53ab85a554
commit ae6db60ff5
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# PROVIDE: zpoolreguid
# REQUIRE: zpool
# BEFORE: mountcritlocal
# BEFORE: FILESYSTEMS
# KEYWORD: firstboot nojail
. /etc/rc.subr

View file

@ -2,7 +2,7 @@
# PROVIDE: zpoolupgrade
# REQUIRE: zpool
# BEFORE: mountcritlocal
# BEFORE: FILESYSTEMS
# KEYWORD: firstboot nojail
. /etc/rc.subr