Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 00:14:21 GMT
From:      "Kevin M. Kilbride" <fbsd@ssl.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/162645: Option parse failure for 'aclmode' when creating filesystem with 'zfs' utility
Message-ID:  <201111180014.pAI0ELMw088466@red.freebsd.org>
Resent-Message-ID: <201111180020.pAI0KAcV046265@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162645
>Category:       misc
>Synopsis:       Option parse failure for 'aclmode' when creating filesystem with 'zfs' utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 18 00:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Kevin M. Kilbride
>Release:        9.0-RC2
>Organization:
>Environment:
(generic amd64; booted from distributed usb flash image)
>Description:
The command 'zfs create -o aclmode=<anything> ...' will invariably fail with a parsing error that reports an invalid option argument; however, creating a filesystem without the option and then subsequently running 'zfs set aclmode=<anything> ...' on the same filesystem succeeds and can be verified with 'zfs get all ...' on the filesystem.

This behavior is not observed for the aclinherit option (or any other option that I have tried).
>How-To-Repeat:
Deterministic. See above.
>Fix:
I don't have time to dig through any code right now, but it seems quite likely that there is a typo somewhere in the option parser for the 'create' module of the 'zfs' utility.

>Release-Note:
>Audit-Trail:
>Unformatted:



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