git: DragonFly_RELEASE_6_4 rc.d/root: Add 'nojail' keyword to fix jail boot

Aaron LI aly at crater.dragonflybsd.org
Mon Feb 2 05:16:08 PST 2026


commit 2989840c1777a72e5d827d8fd284234dd3d37ce7
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/2989840c1777a72e5d827d8fd284234dd3d37ce7


-- 
DragonFly BSD source repository


More information about the Commits mailing list