Zfs-utils 2.3.1-1 breaks zfs-zed.service

EDIT:

It appears the latest CachyOS kernels are compiled with OpenZFS 2.3.0 and that’s probably why zfs-utils 2.3.1 is failing. I’m using linux-cachyos-zfs 6.13.6-2.

ORIGINAL:

After upgrading to zfs-utils 2.3.1-1 the zfs-zed.service fails to start. I ran diff on the the good/bad services and the /etc/default/zfs files they reference and they appear identical so I don’t know what the problem is. So for now I’m just using 2.3.0-1, I hope that’s not dangerous.

Here is the failed service status output:

× zfs-zed.service - ZFS Event Daemon (zed)
     Loaded: loaded (/usr/lib/systemd/system/zfs-zed.service; enabled; preset: enabled)
     Active: failed (Result: start-limit-hit) since Thu 2025-03-13 11:52:37 PDT; 4s ago
   Duration: 24ms
 Invocation: 260fc299c6b24c9cbd8e7f749b7f1c23
       Docs: man:zed(8)
    Process: 64180 ExecStart=/usr/bin/zed -F (code=exited, status=0/SUCCESS)
   Main PID: 64180 (code=exited, status=0/SUCCESS)

Mar 13 11:52:37 entropod systemd[1]: zfs-zed.service: Scheduled restart job, restart counter is at 5.
Mar 13 11:52:37 entropod systemd[1]: zfs-zed.service: Start request repeated too quickly.
Mar 13 11:52:37 entropod systemd[1]: zfs-zed.service: Failed with result 'start-limit-hit'.
Mar 13 11:52:37 entropod systemd[1]: Failed to start ZFS Event Daemon (zed).

After downgrading to zfs-utils 2.3.0-1 the service starts correctly. Here is the successful service status output:

● zfs-zed.service - ZFS Event Daemon (zed)
     Loaded: loaded (/usr/lib/systemd/system/zfs-zed.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-03-13 13:34:25 PDT; 4min 19s ago
 Invocation: 30524a3a6258456c9d30dc9092b2db58
       Docs: man:zed(8)
   Main PID: 1255 (zed)
      Tasks: 4 (limit: 38268)
     Memory: 2.7M (peak: 16.6M)
        CPU: 105ms
     CGroup: /system.slice/zfs-zed.service
             └─1255 /usr/bin/zed -F

Mar 13 13:34:25 entropod systemd[1]: Started ZFS Event Daemon (zed).
Mar 13 13:34:25 entropod zed[1255]: ZFS Event Daemon 2.3.0-1 (PID 1255)
Mar 13 13:34:25 entropod zed[1255]: Processing events since eid=0
Mar 13 13:34:25 entropod zed[1281]: eid=2 class=config_sync pool='Data2'
Mar 13 13:34:25 entropod zed[1291]: eid=5 class=config_sync pool='Data2'
Mar 13 13:34:25 entropod zed[1282]: eid=3 class=pool_import pool='Data2'
Mar 13 13:34:25 entropod zed[1299]: eid=8 class=pool_import pool='DataPool1'
Mar 13 13:34:25 entropod zed[1295]: eid=7 class=config_sync pool='DataPool1'

zfs 2.3.1 was pushed along with 6.13.7. I’m not sure why the kernels aren’t pushed yet – maybe they’re still building. Sorry for the inconvenience.

Thanks for the response @naim. The new kernels need to be pushed ASAP because running the incorrect zfs-utils, at least the failed zfs-zed service, can endanger data integrity dependent upon what ZFS operations are performed.

Starting now compilation. Should be up int he next hrs.

1 Like

Thanks @ptr1337. I installed kernel 6.13.7-1 and zfs-zed 2.3.1-1 on my workstation and server and everything is working perfectly. Marking bug as solved.

Thanks for the report! Sorry again.

1 Like

Nothing to be sorry about @ptr1337. You have a lot on your plate and you’re doing an awesome job! CachyOS is fantastic and I can’t thank you enough for creating it. :slight_smile:

1 Like