From aa53df35523a823a8ac9d998055fe986199b5e6b Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Tue, 21 Jun 2022 12:37:20 -0500 Subject: [PATCH] Remove install of zfs-load-module.service for dracut The zfs-load-module.service service is not currently provided by the OpenZFS repository so we cannot safely assume it exists. Reviewed-by: Brian Behlendorf Signed-off-by: Matthew Thode Closes #13574 --- contrib/dracut/90zfs/module-setup.sh.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in index f2145861d497..81d7d2abe496 100755 --- a/contrib/dracut/90zfs/module-setup.sh.in +++ b/contrib/dracut/90zfs/module-setup.sh.in @@ -83,8 +83,7 @@ install() { for _service in \ "zfs-import-scan.service" \ - "zfs-import-cache.service" \ - "zfs-load-module.service"; do + "zfs-import-cache.service"; do inst_simple "${systemdsystemunitdir}/${_service}" systemctl -q --root "${initdir}" add-wants zfs-import.target "${_service}" done