From d5db5489be135ae9295e378e789b4b7b13367fdd Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 5 Sep 2016 13:24:27 -0500 Subject: init.d/swap: do not unmount all tmpfs file systems X-Gentoo-Bug: 568162 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162 --- init.d/swap.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/init.d/swap.in b/init.d/swap.in index 4fb2b350..c030ad80 100644 --- a/init.d/swap.in +++ b/init.d/swap.in @@ -29,12 +29,6 @@ start() stop() { ebegin "Deactivating swap devices" - - # Try to unmount all tmpfs filesystems not in use, else a deadlock may - # occur. As $RC_SVCDIR may also be tmpfs we cd to it to lock it - cd "$RC_SVCDIR" - umount -a -t tmpfs 2>/dev/null - case "$RC_UNAME" in NetBSD|OpenBSD) swapctl -U -t noblk >/dev/null;; *) swapoff -a >/dev/null;; -- cgit v1.2.3