Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jun 2023 04:32:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271761] zfs set jailed=off should be a noop when already set
Message-ID:  <bug-271761-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271761

            Bug ID: 271761
           Summary: zfs set jailed=3Doff should be a noop when already set
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pprocacci@gmail.com

Given a file system where jailed=3Doff is already set...then

zfs set jailed=3Doff zroot/ROOT/default

The above command returns 1 when it should return 0 IMHO.

As you can tell, I was tinkering with the root fs here and I kept running i=
nto
the error:  "cannot unmount '/': unmount failed"

Given that the command should have changed absolutely nothing it should ind=
eed
be a noop and return 0 as other properties do when being set this way.

It's just a matter of consistency.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271761-227>