Package Details: mkinitcpio-sd-zfs 1.0.4-1

Git Clone URL: https://aur.archlinux.org/mkinitcpio-sd-zfs.git (read-only, click to copy)
Package Base: mkinitcpio-sd-zfs
Description: Compatibility between systemd and ZFS roots
Upstream URL: https://github.com/jkolo/sd-zfs
Licenses: MIT
Conflicts: mkinitcpio-sd-zfs-git
Submitter: jkolo
Maintainer: jkolo
Last Packager: jkolo
Votes: 2
Popularity: 0.019683
First Submitted: 2025-10-22 18:14 (UTC)
Last Updated: 2026-01-23 15:31 (UTC)

Latest Comments

ek9 commented on 2026-04-07 05:23 (UTC)

zfs-utils package supports systemd init based hook, just not with mkinitcpio but rather dracut (dracut works out of the box without any configuration needed)

geppi commented on 2026-01-23 10:31 (UTC) (edited on 2026-01-23 15:46 (UTC) by geppi)

Version 1.0.3 of sd-zfs is in conflict with mkinitcpio version 40-4 at least.

On shutdown the error systemd[1]: Failed to start Generate shutdown-ramfs is logged.

I have issued a pull request in the github repo (https://github.com/jkolo/sd-zfs/pull/1) with a fix.

starfry commented on 2025-12-09 13:17 (UTC) (edited on 2025-12-10 15:25 (UTC) by starfry)

Posting here as you don't have issues on your github.

There is a commit since 1.0.2 that has now been exposed with this 1.0.3. Commit 806a7255 "Make sd-zfs compatible with grub-mkconfig automatic ZFS detection" changes the Kernel argument format from root=zfs: to root=ZFS= and the orignal format does not work any more. This is a breaking change and it is reflected in the README but it could be called out more forcefully - it took me a couple of days to work out what was broken in my provisioner.

Also, the generator writes Requires=systemd-udev-settle.service and this now results in a deprecation message systemd-udev-settle.service is deprecated. Please fix zfs-import-cache.service not to pull it in.

peto59 commented on 2025-11-16 14:03 (UTC)

Very happy to see someone taking over this package. Thank you!