misc/151002: [patch] pc-sysinstall(8) update to support latest GELI flags for passphrases

Kris Moore kmoore at FreeBSD.org
Mon Sep 27 16:20:04 UTC 2010


>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:


More information about the freebsd-bugs mailing list