From owner-freebsd-fs@freebsd.org  Sat Dec 12 02:01:31 2020
Return-Path: <owner-freebsd-fs@freebsd.org>
Delivered-To: freebsd-fs@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 8A9AE47B902
 for <freebsd-fs@mailman.nyi.freebsd.org>; Sat, 12 Dec 2020 02:01:31 +0000 (UTC)
 (envelope-from jdavidlists@gmail.com)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com
 [IPv6:2a00:1450:4864:20::133])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4Ct9qt5TL8z3llD;
 Sat, 12 Dec 2020 02:01:30 +0000 (UTC)
 (envelope-from jdavidlists@gmail.com)
Received: by mail-lf1-x133.google.com with SMTP id a9so16192543lfh.2;
 Fri, 11 Dec 2020 18:01:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=/FzeZtAl8mnjK3u6uEwfpq6uN7N4dWttU+qoFzUJmOw=;
 b=upi+Okzm3MwVMK3A3EdLwqlq2j2pLRz6ZZ3qHBeqveQ31OZF3mSHtMA51DITKRhcmK
 e9aQX5JoBc2JVtLwYN97On/UQrgoClnw3jk7o8zLAjXShhywkpmI3fXcqe+s+SGg6m2s
 1e/A5NSUH5FNLVuH19qUFfeg+HDA0bGuAKie8GHEGIUqvBZRACBVKpUH4EyQWz2vSa8l
 DXEfynzCp3lt8eozUDgd3ul0/j7m3jTQ1ZHJL/8pWnVphNZeri35qlvPmLUGuWyb/DXg
 NWEbwvOiADdZ6Noev7g1eGk3Yi1epnGjnuGpcEHc1AQafbjM/TP2E8FvDL9i4cdBp5mH
 Wwpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=/FzeZtAl8mnjK3u6uEwfpq6uN7N4dWttU+qoFzUJmOw=;
 b=JkqSV1zrtk1sOxSC9S3tgPcDE4tL0dCj4Osow83CTsARhvV/IraUwyo7iEaC1shrxf
 s5JELYK9pfwlm0M/36SSO23PwiqhBcEaq7Hs5ZHNPQeOjM1M0KET0yIoY3XBArLWDa0M
 GIa4g9ZMcrx98HUcVEmbcKYaFpj5+MrE7p3hvqikhKxkDAjIh8hCKuh8mOSxio+JL3kn
 rL7IAJ0gebjjuv8XRrnosWWDxqIr4YrifxTWxA4rGsFN9Mbqtvd/mqtGwqKJAybaDdH+
 LuA+ZRRbpii3SGc2pkTHdctJ/lBzpmrDgC7N2sDaq+4efj7YleJmy8uFcNQxnWw+42aq
 DHLw==
X-Gm-Message-State: AOAM533vah1h1jYRr/D7PFJRARvZHYwmyx0BTDeb59otlrXidhH81NVx
 0vchPPfqvXP495V2EumdrG9mbEh3HnXyMs0yTRidWidWRABMCA==
X-Google-Smtp-Source: ABdhPJwii8ZtrCQJ/RuyHFCYQ5yJ2xk4+HV+Dyjwsqdawa3lzUHEyiBanqH6vv8ucv6c37l2aE2nba+DQwgNFO4PAzk=
X-Received: by 2002:a2e:b80c:: with SMTP id u12mr6415933ljo.490.1607738488958; 
 Fri, 11 Dec 2020 18:01:28 -0800 (PST)
MIME-Version: 1.0
References: <CABXB=RRB2nUk0pPDisBQPdicUA3ooHpg8QvBwjG_nFU4cHvCYw@mail.gmail.com>
 <YQXPR0101MB096849ADF24051F7479E565CDDCA0@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
 <CABXB=RSyN+o2yXcpmYw8sCSUUDhN-w28Vu9v_cCWa-2=pLZmHg@mail.gmail.com>
 <CAOtMX2h82vU6Tt5eOCCEz=iOGhxHdL1XBnjvCTqqFEsaSMTjaA@mail.gmail.com>
In-Reply-To: <CAOtMX2h82vU6Tt5eOCCEz=iOGhxHdL1XBnjvCTqqFEsaSMTjaA@mail.gmail.com>
From: J David <j.david.lists@gmail.com>
Date: Fri, 11 Dec 2020 21:01:17 -0500
Message-ID: <CABXB=RT99PH_ufKtyJKy1fuejUo9w7R6AYPSMB8x_W37v=OeBA@mail.gmail.com>
Subject: Re: Major issues with nfsv4
To: Alan Somers <asomers@freebsd.org>
Cc: Rick Macklem <rmacklem@uoguelph.ca>,
 "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Content-Type: text/plain; charset="UTF-8"
X-Rspamd-Queue-Id: 4Ct9qt5TL8z3llD
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20161025 header.b=upi+Okzm;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of jdavidlists@gmail.com designates
 2a00:1450:4864:20::133 as permitted sender)
 smtp.mailfrom=jdavidlists@gmail.com
X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[];
 TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com];
 R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36];
 DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
 NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+];
 RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::133:from];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US];
 TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000];
 R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain];
 SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::133:from:127.0.2.255];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000];
 RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::133:from];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MAILMAN_DEST(0.00)[freebsd-fs]
X-BeenThere: freebsd-fs@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Filesystems <freebsd-fs.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-fs>,
 <mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs/>
List-Post: <mailto:freebsd-fs@freebsd.org>
List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
 <mailto:freebsd-fs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Dec 2020 02:01:31 -0000

On Fri, Dec 11, 2020 at 6:08 PM Alan Somers <asomers@freebsd.org> wrote:
> That's some good information.  However, it must not be the whole story.

Indeed not.  If it were, this would happen instantly every time.
There must be some sort of trigger.  But there are a lot of jobs that
run and I didn't write any of them.  So the search space is large.

> Are you using any mount options with nullfs?

nosuid and, on half the mounts, ro.

> It might be worth trying to make the read-only mount into read-write, to see if that helps.

It won't; the read-only mounts they are exported read-only on the
server side.  And no one is going to sign off on changing that, not
even for a minute.

> And what does "jls -n" show?

Here is an example, newlines added for readability:

devfs_ruleset=0
nodying
enforce_statfs=2
host=new
ip4=disable
ip6=disable
jid=1020
linux=new
name=job-1020
osreldate=1202000
osrelease=12.2-RELEASE
parent=0
path=/job/roots/job-1020
persist
securelevel=-1
sysvmsg=inherit
sysvsem=inherit
sysvshm=inherit
vnet=inherit
allow.nochflags
allow.nomlock
allow.nomount
allow.mount.nodevfs
allow.mount.nofdescfs
allow.mount.nofusefs
allow.mount.nonullfs
allow.mount.noprocfs
allow.mount.notmpfs
allow.noquotas
allow.noraw_sockets
allow.noread_msgbuf
allow.reserved_ports
allow.set_hostname
allow.nosocket_af
allow.sysvipc
children.cur=0
children.max=0
cpuset.id=87
host.domainname=/""}""
host.hostid=0
host.hostname=job1020.local
host.hostuuid=00000000-0000-0000-0000-000000000000
ip4.addr=10.0.3.252
ip4.saddrsel
ip6.addr=2001:db8::1
ip6.saddrsel
linux.osname=Linux
linux.osrelease=3.2.0
linux.oss_version=198144

Seems like the next step is to find a reproduction that doesn't
involve people calling me asking angry questions about why things are
broken again.

Thanks!