🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.kern
Article #15

OpenZFS on NetBSD

#15
From: od2uvb
Date: Mon, 02 Nov 2026 12:49
53 lines
3923 bytes
Hello,

Showta Ishizaki's message made me aware that someone is working on Subj.

This might be a suitable occasion to mention a logically very simple
and at the same time very useful, but faulty/missing feature in ZFS.

For years I have been confronted with broken semantics of access control
lists on ZFS. The problem is that there is no aclmode which would
decouple them from the Unix mode bits.

The problem becomes apparent as soon as you for example try to use ZFS for
"group areas" where multiple persons shall have read and write access
rights. As soon as some participant does a chmod (even inadvertently,
when some software does this without asking), the ACLs break. This is
impossible to prevent.

The only workaround is running scheduled fix-up scripts, combing the file
trees and restoring the ACLs.

This issue has been discussed on the zfs-devel mailing list at least once
(in July 2018) but without any outcome.

Paul B. Henson seemed to have suggested something more or less similar even
5 years earlier, in 2013:
> https://illumos.org/issues/3571

Note the line "Currently I have to intervene frequently to reset the ACL."

This is what is being done on ZFS installations I know, except the ones
who for this very reason had to resign from using the ACLs.

It is a pity that for over a decade nothing has changed to make ACLs
consistently working and generally usable.

I have looked at the OpenZFS code, both for Linux and FreeBSD and
unfortunately it is built around the kernel's interpretation of mode
bits. In other words, a lightweight patch to add a "decoupled acl" mode
does not look feasible, the logic of privilege evaluation has to be
refactored to make it possible.

It would very useful if NetBSD could apply such refactoring and offer
practically useful, not crippled ACLs.

Could this (an aclmode where privilege evaluation fully ignores mode
bits) be considered for the port apparently being in the works?

Cheers,
od2uvb

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <auiG0_m4anJqNBLQ@localhost>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: od2uvb@0w.se
Newsgroups: muc.lists.netbsd.tech.kern
Subject: OpenZFS on NetBSD
Date: Mon, 2 Nov 2026 13:49:23 +0100
Organization: Newsgate at muc.de e.V.
Sender: tech-kern-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <auiG0_m4anJqNBLQ@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="23373"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=x.fripost.org
X-Greylist: delayed 454 seconds by postgrey-1.37 at homeworld.NetBSD.org; Mon, 02 Nov 2026 12:57:23 UTC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h=
	content-disposition:content-type:content-type:mime-version
	:message-id:subject:subject:from:from:date:date; s=
	9df9cdc7e101629b5003b587945afa70; t=1793623784; x=1795438185;
	 bh=e8EndMhmOET2Kxlx4qUZvCycqPZi+VJa2/cAi1P4fxU=; b=FPQypCrEClpK
	quvnwp5PAJdRCWOuvdpQ34CRssFoujfAevnV+/tl/zh4eXppQxkdW5/mUw37NCf+
	FWZJTwcP0r+zZuLS7adoqZx62hp80SOUAjC7i1KoQgLSYB0Z530j0zVQiJUwTLsK
	5XVyskLvjJnQ5gK+EldDvvGbhwvM9IUBcDnYufhZp5Jek5dV97+bcCHDv9C7dPB2
	YHk2c/g6qplp7SM2Jd0INGBMf5joo8Iqt7E6J3q1R806VL46/jsrN5mEBxxDPi0i
	YbW1XYmWEQbAU+8QlePzJPNEHuYn7IwT8PGMCLX5qoQpmavPflofheHy4HoV26p6
	mD59J995Jw==
Content-Disposition: inline
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes