commit: 3e68013631765e00eddf118bc24e38254e7f6d64
Author: Scall <Scall <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Tue Mar 6 01:16:26 2018 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 01:16:26 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3e680136
init.d: swap should always be started after root
Otherwise if a swap file is being used, and swap is started before
root, swapon may fail because of a read-only filesystem.
init.d/swap.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init.d/swap.in b/init.d/swap.in
index 546cb5f5..c40b263d 100644
--- a/init.d/swap.in
+++ b/init.d/swap.in
@@ -11,7 +11,7 @@
depend()
{
- after clock
+ after clock root
before localmount
keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
}