From nobody Thu Sep 1 11:18:53 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 4MJJTC4Rwwz4bJtC for ; Thu, 1 Sep 2022 11:18:55 +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 4MJJTC1pjqz3sMK for ; Thu, 1 Sep 2022 11:18:55 +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 4MJJTC0sh7zS91 for ; Thu, 1 Sep 2022 11:18:55 +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 281BItfh041942 for ; Thu, 1 Sep 2022 11:18:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 281BItOg041941 for bugs@FreeBSD.org; Thu, 1 Sep 2022 11:18:55 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 251347] NFS hangs on client side when mounted from outside in Jail Tree (BROKEN NFS SERVER OR MIDDLEWARE) Date: Thu, 01 Sep 2022 11:18:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=1662031135; 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=fsYw6lqx+rxGQkdVi7bdChVepUuPgGBTKNVR32XI/no=; b=e34Qh2qvT4GhMrgczhASIYvD5RSdgxE8M+o9ay16ovTIZXGCgKS7F+HiQ5rjreT5D9mDhj kZfeNR556PEQ7raAtRft0u2W8yzRIKgd62JDqMhVs0v0hZEPg0PzMSUYn5jzrYYnACjzJ4 M1eMhX/gO6X2hAfK6QMLdyhOz76v14q8SipM5918PMyNYX/9/za/fMcqi0geIsYQGfiDzg GApOy9Ze+1O/1G1+u2agalUJdwxw2w6gzQLNDPZEL8iqWqsLKGdFegGMMW7G23vuXqdeQJ Gv1TxLUI/L95YlbpMP23IlNjxxSqOKnmwUA25jJ74IEza3JcHaq7a+R3B1HdJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662031135; a=rsa-sha256; cv=none; b=vjvXY3/6uKDFWLaYZ/PYmCAV+ccwFAkJinpjjGXzSHbh7LjtEdjcJdP4kZvh+neVBCdnpP /zXxCkgq0N07NTjOyj3xaWE0Hj73TT6pjuqrR3VEStPfBrwuoKBvkS/7z81sqLjNk/y+gh UZqA3YWTQSfAhgObaYoQQmIr5avi8cpBXQ9PQSsAIWiOvVqH2VDm7u8iwYm72/5F52V5E8 1QldtBLN1apeaJ5wxuqZ51QIMLFExrIJkcMvL6V9lHgP9cOWRBNQtXJcors3urmVesMWTZ giKyJum2PMZZlT2C+1dLdePRaNcyeaH3rVu2YPMJDAmhc3kPd1HRqcV2xkhpQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251347 --- Comment #22 from Slawomir Wojciech Wojtczak --- (In reply to Devin Teske from comment #20) Hi, I just tried to apply the patch .. but there is no sys/nfsclient/nfs_vfsops= .c file in the /usr/src tree ... root@fbsd14:/usr/src # cd /usr/src root@fbsd14:/usr/src # grep +++ /root/patch-01.txt | awk '{print $2}' | whi= le read I; do ls $I; done sys/fs/nfsclient/nfs_clvfsops.c sys/kern/kern_jail.c sys/kern/vfs_mount.c sys/net/rtsock.c sys/netpfil/ipfw/ip_fw_nat.c sys/netsmb/smb_trantcp.c ls: sys/nfsclient/nfs_vfsops.c: No such file or directory root@fbsd14:/usr/src # find . -name nfs_vfsops.c root@fbsd14:/usr/src #=20 Its also not available on the online FreeBSD source tree on GIT: https://github.com/freebsd/freebsd-src/tree/main/sys/nfsclient Any hints? Also a lot of chunks fail to patch: root@fbsd14:/usr/src # patch -C < /root/patch-01.txt=20 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/fs/nfsclient/nfs_clvfsops.c.orig 2013-12-24 20:05:05.0000000= 00 -0800 |+++ sys/fs/nfsclient/nfs_clvfsops.c 2013-12-24 21:52:17.000000000 -0800 -------------------------- Patching file sys/fs/nfsclient/nfs_clvfsops.c using Plan A... Hunk #1 failed at 133. 1 out of 1 hunks failed while patching sys/fs/nfsclient/nfs_clvfsops.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/kern/kern_jail.c.orig 2013-12-24 20:05:00.000000000 -0800 |+++ sys/kern/kern_jail.c 2013-12-24 20:30:36.000000000 -0800 -------------------------- Patching file sys/kern/kern_jail.c using Plan A... Hunk #1 failed at 225. 1 out of 1 hunks failed while patching sys/kern/kern_jail.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/kern/vfs_mount.c.orig 2013-12-30 19:15:21.000000000 -0800 |+++ sys/kern/vfs_mount.c 2013-12-30 20:08:43.000000000 -0800 -------------------------- Patching file sys/kern/vfs_mount.c using Plan A... Hunk #1 failed at 1097. 1 out of 1 hunks failed while patching sys/kern/vfs_mount.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/net/rtsock.c.orig 2013-12-24 20:05:00.000000000 -0800 |+++ sys/net/rtsock.c 2013-12-24 21:04:41.000000000 -0800 -------------------------- Patching file sys/net/rtsock.c using Plan A... Hunk #1 succeeded at 83 with fuzz 1 (offset 8 lines). Hunk #2 failed at 150. Hunk #3 failed at 605. Hunk #4 failed at 750. Hunk #5 failed at 766. Hunk #6 failed at 821. Hunk #7 failed at 1166. Hunk #8 failed at 1218. 7 out of 8 hunks failed while patching sys/net/rtsock.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/netpfil/ipfw/ip_fw_nat.c.orig 2013-12-30 19:15:26.000000000 -0800 |+++ sys/netpfil/ipfw/ip_fw_nat.c 2013-12-30 23:57:24.000000000 -0800 -------------------------- Patching file sys/netpfil/ipfw/ip_fw_nat.c using Plan A... Hunk #1 failed at 675. 1 out of 1 hunks failed while patching sys/netpfil/ipfw/ip_fw_nat.c Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/netsmb/smb_trantcp.c.orig 2013-12-24 20:04:50.000000000 -0800 |+++ sys/netsmb/smb_trantcp.c 2013-12-24 21:14:15.000000000 -0800 -------------------------- Patching file sys/netsmb/smb_trantcp.c using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] y Hunk #1 succeeded at 48 (offset 2 lines). Hunk #2 succeeded at 81 (offset 2 lines). Hunk #3 succeeded at 299 (offset 13 lines). Hunk #4 succeeded at 373 (offset 2 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/nfsclient/nfs_vfsops.c.orig 2013-12-24 20:05:08.000000000 -0800 |+++ sys/nfsclient/nfs_vfsops.c 2013-12-24 21:55:31.000000000 -0800 -------------------------- File to patch: sys/nfsclient/nfs_vfsops.c No file found--skip this patch? [n] y Skipping patch... Hunk #1 ignored at 146. 1 out of 1 hunks ignored while patching sys/nfsclient/nfs_vfsops.c Hmm... Ignoring the trailing garbage. done I am using 14-CURRENT: root@fbsd14:/usr/src # freebsd-version -kru 14.0-CURRENT 14.0-CURRENT 14.0-CURRENT root@fbsd14:/usr/src # uname -a FreeBSD fbsd14 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n257619-c1a0ab5ec5= 2: Fri Aug 26 09:37:24 UTC 2022=20=20=20=20 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Thanks in advance. Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=