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: [email protected]
Reporter: [email protected]
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@freebsd /]# zfs get mlslabel pool1/fs/fs1
NAME PROPERTY VALUE SOURCE
pool1/fs/fs1 mlslabel -
Example (OmniOS):
[root@unknown ~]# zfs get mlslabel pool1/fs/fs1
NAME PROPERTY VALUE SOURCE
pool1/fs/fs1 mlslabel none default
Example (Linux):
[root@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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"