Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2022 09:35:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262440] Order of startup scripts in /etc/rc.d leads to problems with readonly root
Message-ID:  <bug-262440-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262440

            Bug ID: 262440
           Summary: Order of startup scripts in /etc/rc.d leads to
                    problems with readonly root
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: nkoch@demig.de

I am having a system running with readonly root, where tmp is a symlink to
/var/tmp which is recreated at every boot with rc.conf settings

varmfs="YES"
populate_var="YES"

This works with 12.1 where var comes before tmp.

Under 13.0 tmp comes immediately after mountcritlocal and before var,
so I end up in /bin/sh with every boot.

Obvious solution would be to add var as a requirement for tmp, but
I don't know if that would lead to some other problems.

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

home | help

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