Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 11:12:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272129] rc.d/kld should run before rc.d/sysctl
Message-ID:  <bug-272129-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272129

            Bug ID: 272129
           Summary: rc.d/kld should run before rc.d/sysctl
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: dfr@rabson.org

Kernel modules can add sysctl entries. If the user wishes to change the def=
ault
value of those sysctls,=3D using sysctl.cont, they must load the kld before
rc.d/sysctl runs. In practice this means loading it at boot time via
/boot/loader.conf even though loading later in the boot process via rc.conf=
's
kld_list variable is more efficient. Adding 'REQUIRE: kld' to rc.d/sysctl w=
ould
make the ordering of these two scripts deterministic and allows sysctl.conf=
 to
manage sysctl variables for kernel modules loaded via kld_list.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272129-227>