From beat@chruetertee.ch  Tue Jun  5 20:46:00 2007
Return-Path: <beat@chruetertee.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 656E516A469
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jun 2007 20:46:00 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from mail12.bluewin.ch (mail12.bluewin.ch [195.186.19.61])
	by mx1.freebsd.org (Postfix) with ESMTP id 2FFBE13C4B9
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Jun 2007 20:46:00 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from [83.79.0.127] (83.79.0.127) by mail12.bluewin.ch (Bluewin 7.3.121)
        id 46499B45004A2420 for FreeBSD-gnats-submit@freebsd.org; Tue, 5 Jun 2007 20:45:58 +0000
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue,  5 Jun 2007 22:46:06 +0200
Message-Id: <46499B45004A2420@mail12.bluewin.ch> (added by postmaster@bluewin.ch)
Date: Tue,  5 Jun 2007 22:46:06 +0200
From: "Beat Gaetzi" <beat@chruetertee.ch>
Reply-To: Beat Gtzi <beat@chruetertee.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] geli option for to onetime encryption algorithm has changed on FreeBSD 6.2 and later
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113390
>Category:       docs
>Synopsis:       [PATCH] geli option for to onetime encryption algorithm has changed on FreeBSD 6.2 and later
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 05 20:50:04 GMT 2007
>Closed-Date:    Fri Dec 21 21:55:42 UTC 2007
>Last-Modified:  Fri Dec 21 21:55:42 UTC 2007
>Originator:     Beat Gtzi
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD daedalus.network.local 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Mar 18 12:42:52 CET 2007 root@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386


	
>Description:
	Since FreeBSD 6.2 the option to define the encryption algorithm to encrypt the swap partition has changed from -a to -e.
	
>How-To-Repeat:
	Encrypt the swap partition on a FreeBSD 6.2 as described in the handbook, 
	copy the geli_swap_flags line into the rc.conf and restart the system.

	Compare the onetime paragraph in geli(8) for 6.1 and 6.2:
	http://www.freebsd.org/cgi/man.cgi?query=geli&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html
	http://www.freebsd.org/cgi/man.cgi?query=geli&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html
	
>Fix:

	

--- chapter.sgml.patch begins here ---
diff -Naur doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml
--- doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml	Tue Jun  5 22:10:17 2007
+++ doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml	Tue Jun  5 22:16:53 2007
@@ -4106,7 +4106,11 @@
 	a sectorsize of 4 kilobytes and the <quote>detach on last close</quote>
 	option set:</para>
 
-      <programlisting>geli_swap_flags="-a blowfish -l 128 -s 4096 -d"</programlisting>
+      <programlisting>geli_swap_flags="-e blowfish -l 128 -s 4096 -d"</programlisting>
+
+      <para>For systems prior to &os; 6.2-RELEASE, use the following line:</para>
+
+	  <programlisting>geli_swap_flags="-a blowfish -l 128 -s 4096 -d"</programlisting>
 
       <para>Please refer to the description of the <command>onetime</command> command
 	in the &man.geli.8; manual page for a list of possible options.</para>
--- chapter.sgml.patch ends here ---


>Release-Note:
>Audit-Trail:

From: =?ISO-8859-1?Q?Beat_G=E4tzi?= <beat@chruetertee.ch>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: docs/113390: [PATCH] geli option for to onetime encryption algorithm
 has changed on FreeBSD 6.2 and later
Date: Tue, 05 Jun 2007 23:13:33 +0200

 This is a multi-part message in MIME format.
 --------------080201040200080805090401
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Argh, there is a tab in the diff. Here the new version without tab.
 
 Sorry about the circumstances!
 
 --------------080201040200080805090401
 Content-Type: text/plain;
  name="chapter.sgml.patch2"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="chapter.sgml.patch2"
 
 diff -Naur doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml
 --- doc.ori/en_US.ISO8859-1/books/handbook/disks/chapter.sgml	Tue Jun  5 22:10:17 2007
 +++ doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml	Tue Jun  5 23:08:31 2007
 @@ -4106,6 +4106,10 @@
  	a sectorsize of 4 kilobytes and the <quote>detach on last close</quote>
  	option set:</para>
  
 +      <programlisting>geli_swap_flags="-e blowfish -l 128 -s 4096 -d"</programlisting>
 +
 +      <para>For systems prior to &os; 6.2-RELEASE, use the following line:</para>
 +
        <programlisting>geli_swap_flags="-a blowfish -l 128 -s 4096 -d"</programlisting>
  
        <para>Please refer to the description of the <command>onetime</command> command
 
 --------------080201040200080805090401--
Responsible-Changed-From-To: freebsd-doc->gabor 
Responsible-Changed-By: gabor 
Responsible-Changed-When: Fri Dec 21 15:38:32 UTC 2007 
Responsible-Changed-Why:  
I will take a look. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113390 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/113390: commit references a PR
Date: Fri, 21 Dec 2007 21:01:28 +0000 (UTC)

 gabor       2007-12-21 21:01:24 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/handbook/disks chapter.sgml 
   Log:
   - Since FreeBSD 6.2 the option to define the encryption algorithm to encrypt
     the swap partition has changed from -a to -e. Reflect this in the
     documentation.
   
   PR:             docs/113390
   Submitted by:   "Beat Gaetzi" <beat@chruetertee.ch>
   
   Revision  Changes    Path
   1.278     +4 -0      doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Fri Dec 21 21:54:59 UTC 2007 
State-Changed-Why:  
Committed, thanks! You will see the change some hours later, when our 
doc set has been rebuilt from sources. 

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