Block setting org.zectl.org.zectl:<property>
lethedata opened this issue · 1 comments
zectl set org.zectl:<property>=<value>
counts as a valid property leading to an org.zectl.org.zectl:
entry.
I'm not sure if these entries lead to anything beyond a dud entry but zectl as it depends on how zectl and it's plugins are filtered. zectl get
show the property and they can be set independent from the actual entries so it might lead to some issues.
I was able to remove the property as mentioned in #16 (comment).
TOFIX: 'zectl' needs an 'unset' subcommand
Are you just looking to "erase" a property?
be_active_ds="$(zpool get bootfs -H -o value)" be_root="${be_active_ds%/*}" zfs inherit org.zectl:yourprop "${be_root}"
Right now zectl set
is basically a wrapper around zfs set
, so this is working as expected. However this should probably be fixed so that if you add the prefix it issues a warning or ignores it and only has the prefix once.