From owner-svn-src-all@FreeBSD.ORG Thu Oct 21 08:56:32 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E4DD1065670; Thu, 21 Oct 2010 08:56:32 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 240218FC23; Thu, 21 Oct 2010 08:56:31 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 36E9145CD9; Thu, 21 Oct 2010 10:56:29 +0200 (CEST) Received: from localhost (chello089073192049.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C45B945684; Thu, 21 Oct 2010 10:56:23 +0200 (CEST) Date: Thu, 21 Oct 2010 10:55:51 +0200 From: Pawel Jakub Dawidek To: Rui Paulo Message-ID: <20101021085551.GC3838@garage.freebsd.pl> References: <201010202050.o9KKot6o068512@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r214118 - in head: sbin/geom/class/eli sys/geom/eli X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 08:56:32 -0000 --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 21, 2010 at 07:25:53AM +0100, Rui Paulo wrote: > Great work. Might be worth adding the geli commands to /etc/rc.suspend & = /etc/rc.resume. >=20 > You could do something that requires the minimum user configuration, like: >=20 > --- > geli list 2>&1 > /dev/null > if [ $? -eq 0 ]; then > geli suspend -a > fi Well, this is not always safe. As I mentioned in the commit message this will cause deadlock if geli(8) command is stored on encrypted file system (you won't be able to resume). Good example of such situation is when you encrypt even your root file system. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkzAABcACgkQForvXbEpPzS64ACdFNcEt35L3/9G6OBhljGMaO6H xqwAnjSc+C9av87BzzM/8uQimLhSo1rc =c2Oq -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD--