[Bug 272129] rc.d/kld should run before rc.d/sysctl

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Jun 2023 14:13:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272129

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #7 from Mark Johnston <markj@FreeBSD.org> ---
I tried to fix this some time ago, but ran into objections:
https://reviews.freebsd.org/D25601

Applying your patch to an installed system and running rcorder etc/rc.d/*
yields:

rcorder: Circular dependency on file `zpool'.
rcorder: Circular dependency on provision `hostid': hostid -> sysctl -> kld ->
kldxref -> mountcritlocal -> zpool -> hostid.
rcorder: `zpool' was seen in circular dependencies for 1 times.
rcorder: Circular dependency on provision `hostid': hostid -> sysctl -> kld ->
kldxref -> mountcritlocal -> hostid_save -> hostid.
rcorder: `hostid_save' was seen in circular dependencies for 1 times.
rcorder: `mountcritlocal' was seen in circular dependencies for 2 times.
rcorder: `kldxref' was seen in circular dependencies for 2 times.
rcorder: `kld' was seen in circular dependencies for 2 times.
rcorder: `sysctl' was seen in circular dependencies for 2 times.
rcorder: `hostid' was seen in circular dependencies for 2 times.
rcorder: `zpool' was seen in circular dependencies for 1 times.
rcorder: Circular dependency on file `zfskeys'.

-- 
You are receiving this mail because:
You are the assignee for the bug.