zed.rc: typo in option ZED_POWER_OFF_ENCLO*US*RE_SLOT_ON_FAULT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira | ||
Mantic |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira | ||
Noble |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira |
Bug Description
[Impact]
* There's a typo in user-visible option (/etc/zfs/
ZED_
in 2.2.0-rc4 and SRU-ed to Mantic with 2.2.0-0ubuntu1~
* This could be fixed in Ubuntu before users start adopting it.
[Test Plan]
* Check whether /etc/zfs/
* Actual:
$ grep ZED_POWER_OFF_ENCLO /etc/zfs/
#ZED_
* Expected:
$ grep ZED_POWER_OFF_ENCLO /etc/zfs/
#ZED_
[Regression Potential]
* Users of Mantic who upgraded to zfs-linux 2.2.0-0ubuntu1~
(published to mantic-updates on 2023-12-08) _and_ enabled the
option (with typo) would have such functionality disabled.
[Other Info]
* This option (with typo) was introduced in commit d19304ffeec5
("zed: Add zedlet to power off slot when drive is faulted"),
and is present in:
- ZFS 2.2: zfs-2.2.0-rc4 (mantic-updates)
- ZFS 2.1: zfs-2.1.13
* It affects Ubuntu Noble and Mantic, but not Lunar or older.
* Fixed upstream with commit 3c7650491b9a ("zed: fix typo in
variable ZED_POWER_
Upstream:
$ git log --oneline origin/ zfs-2.2- release -- cmd/zed/ zed.d/zed. rc | grep 'zed: Add zedlet to power off slot when drive is faulted'
d19304ffeec5 zed: Add zedlet to power off slot when drive is faulted
$ git describe --contains d19304ffeec5
zfs-2.2.0-rc4~14
$ git log --oneline origin/ zfs-2.1- release -- cmd/zed/ zed.d/zed. rc | grep 'zed: Add zedlet to power off slot when drive is faulted'
a4f82db53d6d zed: Add zedlet to power off slot when drive is faulted
$ git describe --contains a4f82db53d6d
zfs-2.1.13~6
$ git log --oneline origin/ zfs-2.0- release -- cmd/zed/ zed.d/zed. rc | grep 'zed: Add zedlet to power off slot when drive is faulted'
$