init_exec precedence, before or after init_script?
Dewayne Geraghty
dewayne at heuristicsystems.com.au
Sun Sep 20 23:10:37 UTC 2020
A recent change to init, has introduced the welcome init_exec kenv.
Unfortunately "man init" indicates ambiguity as both: init_script and
init_exec are run as "the very first action". So that needs a change.
Due to this ambiguity I referred to the source, and init_exec is
performed first. As init_script has been around for awhile, may I
suggest that it be first and init_exec then take over the PID 1 position?
It also suits my use case, where I have a script that does some file
system work before transferring to init_exec, something I look forward
to taking advantage of (rather than my current init hack) ;)
Regards, Dewayne
More information about the freebsd-stable
mailing list