From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A14B138330 for ; Thu, 8 Sep 2016 15:41:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2ADAE0AD7; Thu, 8 Sep 2016 15:41:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 143ABE0AC3 for ; Thu, 8 Sep 2016 15:41:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8710340834 for ; Thu, 8 Sep 2016 15:41:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4002D247B for ; Thu, 8 Sep 2016 15:41:48 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1473100791.d5db5489be135ae9295e378e789b4b7b13367fdd.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/swap.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d5db5489be135ae9295e378e789b4b7b13367fdd X-VCS-Branch: master Date: Thu, 8 Sep 2016 15:41:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 21b930be-c6f2-4f00-b16c-841d79d7286c X-Archives-Hash: 465c7d3c04d20a4239b3386e282f9425 commit: d5db5489be135ae9295e378e789b4b7b13367fdd Author: William Hubbs gmail com> AuthorDate: Mon Sep 5 18:24:27 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Sep 5 18:39:51 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=d5db5489 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 4fb2b35..c030ad8 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;;