salt/changelog/62390.fixed
Alan Somers 7c80756044
zpool.present: correctly handle "feature@" properties
Optional ZFS pool features can have three states: disabled, enabled, and
active.  Enabled means that ZFS will use them if it needs them, but they
haven't changed the on-disk format yet, so they can still be switched
off.  But active features have already changed the on-disk format, so
they can't be switched off.  Disabled features may not be used.

When enabling such a feature via the zpool.present state, treat "active"
as identical to "enabled".

Fixes #62390
2022-10-11 14:10:37 -06:00

1 line
84 B
Text

Fix the "zpool.present" state when enabling zpool features that are already active.