summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHenrik Riomar <[email protected]>2019-03-15 02:12:17 +0100
committerBrian Behlendorf <[email protected]>2019-03-14 18:12:17 -0700
commitc742bf1e68be582fb2db029e38768f8450d2609d (patch)
tree48df6674f80826bb7df1e4a0bc7307ec21909a54 /etc
parenteaed840542b49b36fb8ed3a2aaf7208629974434 (diff)
zfs-import: should be before swap
zfs-import must be done before swap in order for swap on zvol to work Reviewed-by: Kash Pande <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Henrik Riomar <[email protected]> Closes #8502
Diffstat (limited to 'etc')
-rw-r--r--etc/init.d/zfs-import.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/init.d/zfs-import.in b/etc/init.d/zfs-import.in
index fea661bbc..420d2e8a7 100644
--- a/etc/init.d/zfs-import.in
+++ b/etc/init.d/zfs-import.in
@@ -38,6 +38,7 @@
do_depend()
{
+ before swap
after sysfs udev
keyword -lxc -openvz -prefix -vserver
}