From nobody Wed Sep 11 13:02:06 2024 X-Original-To: fs@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 4X3ghH1F5jz5Wf29 for ; Wed, 11 Sep 2024 13:02:07 +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 4X3ghH04PPz4my7 for ; Wed, 11 Sep 2024 13:02:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726059727; a=rsa-sha256; cv=none; b=Bl2tbZrFfQTTLTlaStD8cxXjoo+zj3Hav/MU565jL5SMsY/30s8bLakn/aSQJySC+Rf/e+ OlniQ9UlR6TJYLmewSuAd99ZCQcSQXmXpI7ZUIjBRDV+1HAF0lMwyznALdQpT+8tOiD3DF Vz0HZr9jehMCsGr/zReMAyK1fXc724+Sr4K4fkEOSitpAuonS8oEcNM8e4RYUN3cNZP75W KYU0IQe4r5Qk55PRzNeb7cwybzSByimiX8sfdWRM+nz8+w/sSHlSFl9YvA3XT0oSvUxqFY S4vjWQIfl6hmYPtGCA0trXQstZyQnMlgiTP2vdS/iBCaGCiUSPE1E3NMN5QtVw== 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=1726059727; 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=mOiSDYYqupFTv9+HPRb2RFzp8suXQMSsZODdyb6PVmk=; b=MmYid3RLPM+P1thIK6pX2sletnX74yBIChE0aqzb/uXIPL8VjMWTaudJHzUZ3okrPrN5yE 4BbqZYRd8Eq6SSiwWk8XwGqB1MuJG2P79ZdWsZrcAruXGABTyOKqvPeNJsGk1xIwnB+kb+ SP30NMvpui5V0VGxjYFcPTtIE5r1s3/aGkvTIXpcHwIZ7BfRZNTTABiwwhIX94m+usAe0d hm+l0lpnjxAEy3o2LvnTpNG/C+7uR2ZrZwp3u2HPY1I/2O0wc0SCvn5S/iyKiraYCC+AIg T79DY1jgwlc7bkLKpiv3m+g8o+EaMhfmDSp9WF/IEHAqc2ZQgGklvTukxFUrNw== 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 4X3ghG6pFyzXVF for ; Wed, 11 Sep 2024 13:02:06 +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 48BD26cU000645 for ; Wed, 11 Sep 2024 13:02:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48BD26D8000644 for fs@FreeBSD.org; Wed, 11 Sep 2024 13:02:06 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: fs@FreeBSD.org Subject: [Bug 281417] Inconsistent restrictions on jailed and sharenfs properties affecting NFS in a VNET jail Date: Wed, 11 Sep 2024 13:02:06 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: okiddle@yahoo.co.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281417 --- Comment #4 from Oliver Kiddle --- (In reply to Rick Macklem from comment #3) The 'zoned' property is directly analagous to the FreeBSD 'jailed' property. And in this case, it is the 'jailed' property that I have set. I then use zfs-jail(8)/unjail from the vnet jail's exec.created/exec.prestop so the datasets are only mounted and controlled from inside the jail. Setting sharenfs is rather easier and more flexible than /etc/exports. As I mention it is possible to set jailed on a parent dataset and sharenfs on a child. The error message and attempts to treat the two properties as mutual= ly exclusive are thus incompletely applied. And while that could be treated as= the bug making the two properties work together would be more useful. I've just realised that I did have a manual entry in /etc/exports so was not really u= sing the property. With jailed NFS, it should perhaps instead be /etc/zfs/exports within the j= ail that is modified for a jailed dataset. I've been trying different combinations in an effort to get rpc.rquotad to = work from the jail - something I've not as yet been successful with. It needed z= fs allow -e just for zfs userspace to work in the jail. --=20 You are receiving this mail because: You are the assignee for the bug.=