From nobody Fri Sep 30 11:03:49 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mf6mP5bHrz4d64d for ; Fri, 30 Sep 2022 11:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mf6mP3Wfhz3S2W for ; Fri, 30 Sep 2022 11:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mf6mP2bH6z189Z for ; Fri, 30 Sep 2022 11:03:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28UB3nL1086168 for ; Fri, 30 Sep 2022 11:03:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28UB3n81086167 for bugs@FreeBSD.org; Fri, 30 Sep 2022 11:03:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266720] Sending mountd(8) SIGHUP to reload exports is disruptive Date: Fri, 30 Sep 2022 11:03:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bf@cebitec.uni-bielefeld.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664535829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Y+59YiGZjmwONhnXGHyDkR0BWy3VbakO6alGY86TkVI=; b=Bl43191yXk9lC9VWQfVcW6ueeFsbGJ+IOqGJMFY954GQ49uTGgKhsalix66wVV4twtcJ3G lYI9Etwb9I2zxgsdnkzT+XZw9MYh7eFrQ5pegIS+F6duaiPUzwqqQGScy1I3MtkzS1xAhD Xr13O8DBqwyha1ioKWAdlQ0OIHkapnUcPkBP8ukbHo3GzNiJ4g2ADpwMKNbs3bE8Og/7jf 7EyKGJCZgVmMonOqDJSl0LwJ6LsOSy8R9mwxNAb7Lb6IveEeaR+qr1bhEgbMSS+fpuHUc3 YHkf3XFEZr/5czfB9gEtSlo0W3XEL0S2ycNmecjfc48eBBzsT111d93921xGeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664535829; a=rsa-sha256; cv=none; b=jKXPZgWUazH/WH8ofWvSwGKlDHAEz5HcAytTR0ByGh9y65kpwd30MO2ALPkwh+jCHLuMv5 enL1uGk2rhqa7opPEhHwqWCOiLdRG12omwnJtDR6yAW6SZNzeKSENjn1+ZWLcbhG4Z4ImM NPEpFUtoTyjL3XyoZd5Kt6jmr1o/TcChl0Xst3kJHFHHnsM66Ikiu6cIUEOzhYVV+3tsS2 ohgyCSfIxgmR6C57OV5LqpbjtyFfqBWemjs5xaj+TftRxvxmA8BnIU1TRJUM0HhnljAW0r EABm12TlEf7O5GHkdXzrPmRzmOyctretS/niL0qHX20tLeME+jWeF7kWRiQu9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266720 Bug ID: 266720 Summary: Sending mountd(8) SIGHUP to reload exports is disruptive Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bf@cebitec.uni-bielefeld.de NFSv4 server is FreeBSD-13.1, problem occurs at least on Linux and Solaris clients. The seems to be a small time window triggered by reloading /etc/exports (us= ing SIGHUP @mountd, or 'service mountd reload') causing valid client requests getting EPERM. We can reliably reproduce the glitch by running this little = Perl script on a client: #!/usr/bin/perl while (1) { open my $fh, $0 or warn($!); sysread $fh, my $s, 64, 0 or warn($!); close $fh } and SIGHUPing the mountd on the FreeBSD server. Many entries in /etc/exports help hitting the critical time window. For our use case this problem has show-stopper qualities since we manage ex= port ACLs on a per-volume basis, and we have lots of volumes. --=20 You are receiving this mail because: You are the assignee for the bug.=