Actions
Bug #6984
openzfs inherit -S should do nothing if a received value does not exist
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-05-18
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
If there is a local value and received value of a zfs property, zfs get will only show the local value. Running 'zfs inherit -S' will set the value to the received value if a received value exist, but wipe out the local value if one does not exist. However, there is no way to tell if a receive value exists making 'zfs inherit -S' a dangerous call.
The script posted in https://www.illumos.org/issues/6982 demonstrates this problem.
No data to display
Actions