From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SqU6E-0002kR-F8 for garchives@archives.gentoo.org; Sun, 15 Jul 2012 19:03:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BCD3E074B; Sun, 15 Jul 2012 19:03:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6C46FE074B for ; Sun, 15 Jul 2012 19:03:15 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C84B31B4159 for ; Sun, 15 Jul 2012 19:03:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 886EBE543C for ; Sun, 15 Jul 2012 19:03:13 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1342378863.39abbed7cbdd57e28ac3bd8ccb3b47b709467092.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/savecore.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 39abbed7cbdd57e28ac3bd8ccb3b47b709467092 X-VCS-Branch: master Date: Sun, 15 Jul 2012 19:03:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e25874e5-13cf-4046-ae7a-bb440bdaad40 X-Archives-Hash: 2f918400543cf8318cf679c32bad3e28 commit: 39abbed7cbdd57e28ac3bd8ccb3b47b709467092 Author: Richard Yao cs stonybrook edu> AuthorDate: Sun Jul 15 12:47:02 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Jul 15 19:01:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D39abbed7 Fix savecore init script to execute after dumpon, but before encswap This ensures that any kernel crash dumps are available when savecore runs. It also prevents encswap from corrupting them. --- init.d/savecore.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/init.d/savecore.in b/init.d/savecore.in index 1423046..b04d1be 100644 --- a/init.d/savecore.in +++ b/init.d/savecore.in @@ -6,7 +6,8 @@ description=3D"Saves a kernel dump." =20 depend() { - need localmount + need dumpon localmount + before encswap keyword -jail } =20