From 6e954130d4ab1e119935f0187d5bf91fc28e90d6 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 7c01f125e9..178c318e01 100755 --- a/contrib/dracut/90zfs/module-setup.sh.in +++ b/contrib/dracut/90zfs/module-setup.sh.in @@ -86,8 +86,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