zfsonlinux/zfs/debian/patches/0004-always-load-ZFS-module-on-boot.patch

28 lines
1.0 KiB
Diff
Raw Normal View History

From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
2018-01-19 14:16:42 +03:00
Date: Fri, 19 Jan 2018 12:13:46 +0100
Subject: always load ZFS module on boot
2018-01-19 14:16:42 +03:00
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
2018-01-19 14:16:42 +03:00
Content-Transfer-Encoding: 8bit
since zfs-import-scan.service is disabled by default, and
zfs-import-cache.service only gets started if a cache file exists, this
is needed for zfs-mount, zfs-share and zfs-zed services in case ZFS is
not actually used.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-01-19 14:16:42 +03:00
---
etc/modules-load.d/zfs.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/modules-load.d/zfs.conf.in b/etc/modules-load.d/zfs.conf.in
index 8b41baa..59b058c 100644
2018-01-19 14:16:42 +03:00
--- a/etc/modules-load.d/zfs.conf.in
+++ b/etc/modules-load.d/zfs.conf.in
@@ -1,3 +1,3 @@
# Always load kernel modules at boot. The default behavior is to load the
# kernel modules in the zfs-import-*.service or when blkid(8) detects a pool.
-#zfs
+zfs