Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2021 20:44:31 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   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.
Message-ID:  <202101152044.10FKiVCD006639@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius:

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

commit 4f48fd7c5677c6640cac59706d0340348a5f1d64
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2021-01-11 19:11:29 +0000
Commit:     Gleb Smirnoff <glebius@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 /



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