From 3ea80545d6544ab0e9bbfb9d418af5738400ef2e Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Mon, 24 Feb 2020 18:14:26 +0300 Subject: [PATCH] stratis module: fix start order Change start script order to pre-mount as stratis require fully initialized udev. --- modules.d/90stratis/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/90stratis/module-setup.sh b/modules.d/90stratis/module-setup.sh index 943f572ef..e13000b47 100755 --- a/modules.d/90stratis/module-setup.sh +++ b/modules.d/90stratis/module-setup.sh @@ -26,7 +26,7 @@ install() { inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service" systemctl -q --root "$initdir" enable stratisd-init.service else - inst_hook cmdline 25 "$moddir/stratisd-start.sh" + inst_hook pre-mount 25 "$moddir/stratisd-start.sh" inst_hook cleanup 25 "$moddir/stratisd-stop.sh" fi } -- 2.47.3