git: 4f48fd7c5677 - main - Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that depend on FILESYSTEMS run mktemp(1). For systems that have read-only root this is broken until memory disk based /tmp is instantiated. At least 'os-release' and 'motd' are subject to this problem.

Gleb Smirnoff glebius at FreeBSD.org
Fri Jan 15 20:44:31 UTC 2021


The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=4f48fd7c5677c6640cac59706d0340348a5f1d64

commit 4f48fd7c5677c6640cac59706d0340348a5f1d64
Author:     Gleb Smirnoff <glebius at FreeBSD.org>
AuthorDate: 2021-01-11 19:11:29 +0000
Commit:     Gleb Smirnoff <glebius at FreeBSD.org>
CommitDate: 2021-01-15 20:44:06 +0000

    Add 'tmp' to the list of FILESYSTEMS dependencies.  Some scripts that
    depend on FILESYSTEMS run mktemp(1).  For systems that have read-only
    root this is broken until memory disk based /tmp is instantiated.  At
    least 'os-release' and 'motd' are subject to this problem.
    
    Reviewed by:            ngie
    Differential Revision:  https://reviews.freebsd.org/D28097
---
 libexec/rc/rc.d/FILESYSTEMS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/FILESYSTEMS b/libexec/rc/rc.d/FILESYSTEMS
index c44bbe126e3e..996d8ada987a 100755
--- a/libexec/rc/rc.d/FILESYSTEMS
+++ b/libexec/rc/rc.d/FILESYSTEMS
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: FILESYSTEMS
-# REQUIRE: root mountcritlocal cleanvar
+# REQUIRE: root mountcritlocal cleanvar tmp
 
 #	This is a dummy dependency, for services which require filesystems
 #	to be mounted before starting.  It also serves as the default early /


More information about the dev-commits-src-main mailing list