From nobody Tue May 30 16:59:29 2023 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 4QVzC61S2cz4XppJ for ; Tue, 30 May 2023 16:59:30 +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 4QVzC60Hsbz3PdM for ; Tue, 30 May 2023 16:59:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685465970; 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=PivTvEJ1XsvXkFeOazVWJs219BeSxCRAt/P4jWWd9eU=; b=VbVf2eABUQV8DO302DglsS3y8VGNltj0VzUBpF+yBL5C2fzLZCqR1uzm4QB1in1TtFWV3a daAcNcbyTnDa2nX8NWiwXGYnuX89tUcnTgY7FpUN9FbLaKkQQ5r6ct501oKaqwQPyGBzk5 PHqRyMxOTBB+jLNtNRCKUiCh3IQOrz7JPW8p/pXdbC92FJy3j6umo24nzVkiTD/8nQeftl lyOhhKd7n3LhRvfz2anw+6u1SCzSpEz9lubi7jpQInAW9R9Ov1nkmGX7I3/bAlXtVkY3+x kR/3m4XJcB22+sZ6odT4On+nK0xmIKHRAWbiK/JEmVBbAV3QmwvO+2yMhaAyAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685465970; a=rsa-sha256; cv=none; b=B4ylaPCnLC9GVthS0hF5yTlmKAoDsfOM5Ppw/qmM2Ji9CsTOtFjlKy304MK0V25x3MWXBI qAnO86xaxQpw+nSyGlVrutK6sxzTwSL+kPepx0qTCFWx90yimaCB/wA6G92czBkphDUmdg lSiZjeg+84HXbaNq8tbLv7FyuLXLY8uMNlGYISbEgI+waCauUBfcyGngTHNhj/W3MCCk7Q 1ZRsiNcsAvEJS837S/du6NvpgVhmyodnol8m40Z6+x4J59j/2N/Pg35+k/4MEcFrTbsB/9 zurWfX1ZZFcIy6LdXmoLDvTEQl1cGGTCpl4YI/oCxKl5yb4BgQL79t61JaU2sw== 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 4QVzC56VCwz11k5 for ; Tue, 30 May 2023 16:59:29 +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 34UGxTEo016330 for ; Tue, 30 May 2023 16:59:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34UGxTFw016329 for bugs@FreeBSD.org; Tue, 30 May 2023 16:59:29 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 271704] O_PATH and acl_get_fd_np doesn't work on FreeBSD 13(.2) and causes vfs_zfsacl in Samba to fail Date: Tue, 30 May 2023 16:59:29 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: Open 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271704 --- Comment #7 from Peter Eriksson --- > Samba must be doing something else there for Linux. Yes, Linux doesn't support accessing local real ZFS ACLs at all...=20 I think you might sort of work around that by NFSv4-exporting a ZFS filesys= tem and then loopback mount it back onto the same host, since ZFS-on-Linux internally does support the full ACLs (and exposes them via NFS as 'xattrs'= so you can modify them via that interface - there just isn't a working kernel - userland interface to access/modify them directly. There is some half-baked PosixACL emulation support in ZFS-on-Linux but that only supports a subset = of the full access rights. So the Samba vfs_zfsacl module only works on FreeBSD (and Solaris-derivates) One (out of many, but that one is a showstopper for us) big reason we use FreeBSD and not Linux as the OS for our ZFS-based fileservers :-) ZFS on Linux isn't that big either so people using Samba on Linux are norma= lly using other filesystems that doesn't have "full" ZFS/NFS ACLs either and th= en they emulate the ACLs using other means (but that makes it hard to share da= ta between SMB and NFS for example since Samba will validate ACLs one way and = then the kernel/NFS will do it differently). It's big headache. --=20 You are receiving this mail because: You are the assignee for the bug.=