Date: Sat, 16 Jan 2021 19:18:27 -0800 (PST) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: Gleb Smirnoff <glebius@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 7e4eca7136ea - main - Revert 97ec6eba653a07. There shouldn't be a dependency of 'tmp' on remote filesystems. Discussed this with Brooks and he can't find evidence that provoked the change in 2005. If anything gets broken I will fix it in a dif Message-ID: <202101170318.10H3ISUj056102@gndrsh.dnsmgr.net> In-Reply-To: <202101152044.10FKiUS3006617@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> The branch main has been updated by glebius: > > URL: https://cgit.FreeBSD.org/src/commit/?id=7e4eca7136eaa35e15f67682468f09aa7127b543 > > commit 7e4eca7136eaa35e15f67682468f09aa7127b543 > Author: Gleb Smirnoff <glebius@FreeBSD.org> > AuthorDate: 2021-01-11 20:13:41 +0000 > Commit: Gleb Smirnoff <glebius@FreeBSD.org> > CommitDate: 2021-01-15 20:44:06 +0000 > > Revert 97ec6eba653a07. There shouldn't be a dependency of 'tmp' on > remote filesystems. Discussed this with Brooks and he can't find > evidence that provoked the change in 2005. If anything gets broken > I will fix it in a different way, not via rc sequence change. This is because /etc/rc.d/tmp has this line: if ! /bin/df /tmp | grep -q "^/dev/md[0-9].* /tmp"; then and when your doing NFS boots with seperate /usr you do not have /usr/bin/grep to run that line. Almost always the reason things have a REQUIRE: mountcritremote is that they use some commands from /usr. > Discussed with: brooks > Reviewed by: ngie > Differential Revision: https://reviews.freebsd.org/D28097 > --- > libexec/rc/rc.d/tmp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libexec/rc/rc.d/tmp b/libexec/rc/rc.d/tmp > index 3b75ec0338ef..a61321e058ee 100755 > --- a/libexec/rc/rc.d/tmp > +++ b/libexec/rc/rc.d/tmp > @@ -28,7 +28,7 @@ > # > > # PROVIDE: tmp > -# REQUIRE: mountcritremote > +# REQUIRE: mountcritlocal > > . /etc/rc.subr > > -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101170318.10H3ISUj056102>