From nobody Sat Apr 26 23:38:16 2025 X-Original-To: net@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 4ZlR3X3Mv4z5twrj for ; Sat, 26 Apr 2025 23:38:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZlR3X2YQNz3xNg for ; Sat, 26 Apr 2025 23:38:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745710696; 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: in-reply-to:in-reply-to:references:references; bh=7F+W/E4qhl5SdBotmsNntKyVhhPium1N+syb+gNrxyc=; b=OlEZH+aGxjv8/buJAIQn1Ft8ueTMvJ840+zG4rimCm/+H5tASZ2wmi+TVwFi4NlD61JKwd VVqTRbsB64r29pPADOvUa27yc4FSOEycVYXZt6OOxVJNVQ0Ck8Hv0/c7rIGDdM0gC/ZPgT Dgzou8orOe6LlydYElhQ6uBwLJsyE+G2Ff+P1RAaguJdJ9fu0qg+RmPFMbrgtq7mBV+VIa hLqO0Uk3I8fju8iYXL/14K7qBc32Y/MaJ1+a+AF0Ly0ioLXvDkZjay2BRFY4Aef4iVOdm7 THW2/MWggFsgSHm84TxY2N1LIUpBwiMSSPLMWHj2mSf/KZoAPy1nq8TBBmjUNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745710696; a=rsa-sha256; cv=none; b=F4P1nU89LBjNBlEiU855WIWzp3Hwggrz57fw0i5sYd24Ko0/EEIGHcdSVDYTBU4+GYoFZW sW/oUIxxVjBbNKR5N4Du+8EQ11+OuhjU6zWQ4jvDAWy4cq41XSlACli9mJxj8Zf2c/ooJp YjSQOpoUshIO1sW0AXYD3+sFYwEDwVo8WzktM+9MnlBA7OgsD96L5kqlgYwi7v1YDCTYim XS/gN6SwMDIt/KtNvvgV/gjC5S/W7fEDool0K6A67/WtGcWb8p+z3lraD8U5p+2SEYQZZL zXVo2gtdYe90HMKZh6BaRYl4NIWB3o2oFg2w8j3Z9SyaGv31KzC5DJ+XFld19Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745710696; 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: in-reply-to:in-reply-to:references:references; bh=7F+W/E4qhl5SdBotmsNntKyVhhPium1N+syb+gNrxyc=; b=sm1ZRIGb34XvlP9yLiaMmI7LvHmZFSolnaa0/rTwiVasMjKKK6Gm0cASStXj8zNUQkVTh7 OkLiDR/kNGkUyHvIJbSUB07faVDIGzMwITdvhY2lxE4KG/z1KSToTJ4Kuf1twDUI3dj/3D TerxTYTw8NmWxsj/8SaZQLk7kVK/MPU7b3pFhFlqlTD3FvX3/5UCDgyNJQn3z5B8ByCVoe eqLe9lZNNlA5mVlVcZavL0dSeFxaf2JCI5HVrAMMk7gdqq28SVJ8BFNi8PZ+X+WdDB1eUX PcakKTzH/z4zb62ScTTG7Cy/rBKGSV6mtd4pQO963OM1dqsnj2bxWXv1Wo6mlQ== 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 4ZlR3X1ndszhRG for ; Sat, 26 Apr 2025 23:38:16 +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 53QNcGZt057214 for ; Sat, 26 Apr 2025 23:38:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53QNcGnZ057213 for net@FreeBSD.org; Sat, 26 Apr 2025 23:38:16 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: net@FreeBSD.org Subject: [Bug 286260] NFS: sharing only for IPv6 subnet fails Date: Sat, 26 Apr 2025 23:38:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286260 --- Comment #5 from Rick Macklem --- Ok. I have found a bug in mountd that might have resulting in what you observed. When mountd receives a SIGHUP, it is supposed to update the exports in the kernel with all entries that have changed. However, the function that checks to see if an entry has changed (called compare_export()) checks for things like different export flags. It does not check to see that the address/family has changed. This is a bug. --> Adding the IPv4 export changed it so that it got updated. If I am correct, restarting mountd would have fixed the case where the IPv6 entry was the only one but reloading mountd would not have. I will come up with a patch for this bug. If you can reproduce the failed case, please try restarting mountd and let us know if that fixes the problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=