From owner-dev-commits-src-main@freebsd.org Sun Jan 17 14:58:57 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 688594EBDC0; Sun, 17 Jan 2021 14:58:57 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJdNJ5DSnz3JYY; Sun, 17 Jan 2021 14:58:56 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1610895534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sOvILB3lHgT9RHk8d6sRGI+26HsQDtS7pL62YgSs/uk=; b=Iuy6bK5QrJ8y5QhYMOx+mNiRdP2HKUUxq0ilDF4XDEQOMOipHBk5+2kDbAOuIf+fMJto9/ 0+kypelaOAx9Q59Kb/sEi/qlQGqw64bO23i7wVrIGroCLAvjrAmd+bsADsE9N4YQLtFhds e1eVry5l0IOpJ6Kmrx0sI6cc9HQzYAM= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 5ffb0e3f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 17 Jan 2021 14:58:54 +0000 (UTC) Date: Sun, 17 Jan 2021 15:58:54 +0100 From: Emmanuel Vadot To: rgrimes@freebsd.org Cc: "Rodney W. Grimes" , Stefan Esser , Gleb Smirnoff , 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: <20210117155854.b9abb9ba7efa786c21308b17@bidouilliste.com> In-Reply-To: <202101171448.10HEmImr058238@gndrsh.dnsmgr.net> References: <20210117151831.25facacac2d981df4b0ab54e@bidouilliste.com> <202101171448.10HEmImr058238@gndrsh.dnsmgr.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DJdNJ5DSnz3JYY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 14:58:57 -0000 On Sun, 17 Jan 2021 06:48:18 -0800 (PST) "Rodney W. Grimes" wrote: > > > > Hi Rod, > > > > Could you please fix your mailer, those issues have been buging me for > > years : > > Your mis-reading the quoted text, that is what my mailer is > saying about the incoming mail, aka the below WAS pgp signed, > and my mailer did not process that PGP signature. > My mailer is not > > > > On Sun, 17 Jan 2021 06:03:02 -0800 (PST) > > "Rodney W. Grimes" wrote: > > > > > -- Start of PGP signed section. > > > [ Charset windows-1252 ignored, treated as US-ASCII ] > > > > I don't know why those lines are inserted, especially since your mail > > isn't pgp signed. > > Those are quoted lines, aka my mailer failed the PGP. I usually > do delete these. Those aren't quoted lines, those are lines inserted by your mailer when you reply. (Or when you read no idea don't really care). > > > > > > > Am 17.01.21 um 04:18 schrieb Rodney W. Grimes: > > > > Since your mailer doesn't add a quote introduction it always looks > > like that you're replying to the previous mail (and here it looks like > > you're replying to yourself). > > The fact that the lines have added the leading "> " indicates otherwise. And the fact that everyone else on mailing list starts their reply with something like "On XXX blah said :" and you're not making it really hard to read your replies. > > > > >> The branch main has been updated by glebius: > > > > >> > > > > >> URL: https://cgit.FreeBSD.org/src/commit/?id=7e4eca7136eaa35e15f67682468f09aa7127b543 > > > > >> > > > > >> commit 7e4eca7136eaa35e15f67682468f09aa7127b543 > > > > >> Author: Gleb Smirnoff > > > > >> AuthorDate: 2021-01-11 20:13:41 +0000 > > > > >> Commit: Gleb Smirnoff > > > > >> 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. > > > > > > Critical statement, :"some commands": you fixed 1 of them, > > > I also so a bit later: > > > if _tmpdir=$(mktemp -d -q /tmp/.diskless.XXXXXX); then > > > > > > mktemp lives in /usr/bin also > > > > > > > This dependency on /usr/bin/grep is easily removed, see: > > > > > > > > https://reviews.freebsd.org/D28209 > > > > > > > > > > I like this fix, less dependance on /usr during boot > > > processing is good. > > > > > > > diff --git a/libexec/rc/rc.d/tmp b/libexec/rc/rc.d/tmp > > > > index a61321e058ee..2a7205e92b59 100755 > > > > --- a/libexec/rc/rc.d/tmp > > > > +++ b/libexec/rc/rc.d/tmp > > > > @@ -40,10 +40,16 @@ load_rc_config $name > > > > > > > > mount_tmpmfs() > > > > { > > > > - if ! /bin/df /tmp | grep -q "^/dev/md[0-9].* /tmp"; then > > > > - mount_md ${tmpsize} /tmp "${tmpmfs_flags}" > > > > - chmod 01777 /tmp > > > > - fi > > > > + while read line; do > > > > + case $line in > > > > + /dev/md[0-9]*\ /tmp) > > > > + return;; > > > > + esac > > > > + done <<*EOF > > > > +$(df /tmp) > > > > +*EOF > > > > + mount_md ${tmpsize} /tmp "${tmpmfs_flags}" > > > > + chmod 01777 /tmp > > > > } > > > > > > > > # If we do not have a writable /tmp, create a memory > > > > > > > -- End of PGP section, PGP failed! > > > > See, not pgp signed. > > > > Cheers, > > > > > -- > > > Rod Grimes rgrimes@freebsd.org > > > > > > -- > > Emmanuel Vadot > > > > -- > Rod Grimes rgrimes@freebsd.org -- Emmanuel Vadot