commit: c42916ea199c0eab35c6c0a72d9a9f2a326144b0
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: Mon Mar 12 04:16:51 2018 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c42916ea
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
}