git: rc.d/root: Add 'nojail' keyword to fix jail boot
Aaron LI
aly at crater.dragonflybsd.org
Thu Apr 3 04:43:08 PDT 2025
commit fa54e97528009f3b0c90976c8e0aca155610d7c4
Author: Aaron LI <aly at aaronly.me>
Date: Thu Apr 3 19:17:43 2025 +0800
rc.d/root: Add 'nojail' keyword to fix jail boot
A jail cannot remount the root filesystem so it was failing to boot
because of error:
Mounting root filesystem rw failed; startup aborted.
Add the 'nojail' keyword to exclude this rc script in jail boot.
FreeBSD also has this keyword for this script for 20+ years.
With this fix, a jail boots OK but there are still some errors during
the boot, so there are more rc scripts that need the 'nojail' keyword
or need tweaks for jail. Will look into this later.
Reported-by: fgudin (Francis GUDIN) on IRC
Summary of changes:
etc/rc.d/root | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa54e97528009f3b0c90976c8e0aca155610d7c4
--
DragonFly BSD source repository
More information about the Commits
mailing list