[Bug 215881] mlslabel had "" value, instead of none
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 8 20:48:55 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215881
Bug ID: 215881
Summary: mlslabel had "" value, instead of none
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: apenner.it at gmail.com
Description:
zfs get mlslabel return "" value, instead of "none" defined in
sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h
at 319
>> #define ZFS_MLSLABEL_DEFAULT "none"
Example (FreeBSD 11):
[root at freebsd /]# zfs get mlslabel pool1/fs/fs1
NAME PROPERTY VALUE SOURCE
pool1/fs/fs1 mlslabel -
Example (OmniOS):
[root at unknown ~]# zfs get mlslabel pool1/fs/fs1
NAME PROPERTY VALUE SOURCE
pool1/fs/fs1 mlslabel none default
Example (Linux):
[root at localhost /home]# zfs get mlslabel pool1/fs/fs1
NAME PROPERTY VALUE SOURCE
pool1/fs/fs1 mlslabel none default
Effect:
it's broke shell scripts which expect some value or "none" in third (VALUE)
field.
In others OS (Illumous, Linux, SunOS) it's has default value - "none"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list