From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 27 16:20:04 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0481065670 for ; Mon, 27 Sep 2010 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2C08FC26 for ; Mon, 27 Sep 2010 16:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8RGK4Aj048797 for ; Mon, 27 Sep 2010 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8RGK4FZ048796; Mon, 27 Sep 2010 16:20:04 GMT (envelope-from gnats) Resent-Date: Mon, 27 Sep 2010 16:20:04 GMT Resent-Message-Id: <201009271620.o8RGK4FZ048796@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kris Moore Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB57106566C for ; Mon, 27 Sep 2010 16:10:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 992628FC0A for ; Mon, 27 Sep 2010 16:10:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8RGAxRc066284 for ; Mon, 27 Sep 2010 16:10:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8RGAxO3066259; Mon, 27 Sep 2010 16:10:59 GMT (envelope-from nobody) Message-Id: <201009271610.o8RGAxO3066259@www.freebsd.org> Date: Mon, 27 Sep 2010 16:10:59 GMT From: Kris Moore To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/151002: [patch] pc-sysinstall(8) update to support latest GELI flags for passphrases X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 16:20:04 -0000 >Number: 151002 >Category: misc >Synopsis: [patch] pc-sysinstall(8) update to support latest GELI flags for passphrases >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 27 16:20:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Kris Moore >Release: 9.0-Current >Organization: iXsystems >Environment: >Description: This small patch updates the "geli setkey" flags pc-sysinstall uses when saving a users passphrase, to make it work in HEAD with recent geli improvements. >How-To-Repeat: >Fix: Apply included patch Patch attached with submission follows: --- src.o/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh 2010-09-22 08:50:07.000000000 -0400 +++ src/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh 2010-09-27 07:08:17.000000000 -0400 @@ -296,7 +296,7 @@ # If we have a passphrase, set it up now if [ -e "${PARTDIR}-enc/${PART}-encpass" ] ; then - cat ${PARTDIR}-enc/${PART}-encpass | geli setkey -S -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART} + geli setkey -J ${PARTDIR}-enc/${PART}-encpass -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART} geli configure -b ${PART} fi >Release-Note: >Audit-Trail: >Unformatted: