diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-21 03:06:11 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-21 03:06:11 -0600 |
| commit | 50a5f78c5a7be0f5e3d630efb10cd23902549667 (patch) | |
| tree | bc47be82ed1bb5392421e93edc89446dc954a634 /scripts/test-zfs-snap-prune.sh | |
| parent | 4c8fbe0799b353ea4e37816bb146a04a3e8c5b07 (diff) | |
| download | archangel-50a5f78c5a7be0f5e3d630efb10cd23902549667.tar.gz archangel-50a5f78c5a7be0f5e3d630efb10cd23902549667.zip | |
Fix ZFS boot failures: service conflicts, cachefile, and GRUB duplicate root
Three bugs were preventing installed systems from booting:
1. ZFS package preset (50-zfs.preset) enables zfs-import-cache by default,
overriding our attempt to use zfs-import-scan. Now explicitly disable
zfs-import-cache before enabling zfs-import-scan.
2. zfs-import-scan has ConditionFileNotEmpty=!/etc/zfs/zpool.cache which
prevents it from running if cachefile exists. Now remove cachefile after
setting cachefile=none.
3. GRUB_CMDLINE_LINUX contained root=ZFS=... but grub-mkconfig also
auto-detects ZFS root, causing duplicate root= parameters. Removed
manual root= since grub-mkconfig handles it correctly.
All 22 tests pass (19 sanity + 3 installation configs).
Diffstat (limited to 'scripts/test-zfs-snap-prune.sh')
0 files changed, 0 insertions, 0 deletions
