From nobody@FreeBSD.org  Mon Jun 11 22:38:18 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id CF0E4106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 22:38:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id BB0178FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 22:38:18 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5BMcIl8029400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 22:38:18 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5BMcICN029399;
	Mon, 11 Jun 2012 22:38:18 GMT
	(envelope-from nobody)
Message-Id: <201206112238.q5BMcICN029399@red.freebsd.org>
Date: Mon, 11 Jun 2012 22:38:18 GMT
From: Robert Simmons <rsimmons0@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: geli swap flag for encryption algo is redundant
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168966
>Category:       conf
>Synopsis:       [rc.conf] [patch] geli swap flag for encryption algo is redundant
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-rc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 22:40:07 UTC 2012
>Closed-Date:    
>Last-Modified:  Thu Apr 17 04:38:30 UTC 2014
>Originator:     Robert Simmons
>Release:        9.0-RELEASE
>Organization:
>Environment:
>Description:
The setting listed "-e aes" in geli_swap_flags in /etc/defaults/rc.conf is redundant.  AES is already the default for geli volumes:
"The default and recommended algorithm is AES-XTS." geli(8) man page.
>How-To-Repeat:

>Fix:
Patch included.

Patch attached with submission follows:

--- etc/defaults/rc.conf.old	2012-06-11 18:32:49.675308259 -0400
+++ etc/defaults/rc.conf	2012-06-11 18:33:13.171308641 -0400
@@ -84,7 +84,7 @@
 #geli_da1_autodetach="NO"
 #geli_mirror_home_flags="-k /etc/geli/home.keys"
 
-geli_swap_flags="-e aes -l 256 -s 4096 -d"	# Options for GELI-encrypted
+geli_swap_flags="-l 256 -s 4096 -d"	# Options for GELI-encrypted
 						# swap partitions.
 
 root_rw_mount="YES"	# Set to NO to inhibit remounting root read-write.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Apr 17 04:37:58 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168966 
>Unformatted:
