From owner-freebsd-security@FreeBSD.ORG Wed Nov 7 07:07:32 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8391039C for ; Wed, 7 Nov 2012 07:07:32 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nskntmtas05p.mx.bigpond.com (nskntmtas05p.mx.bigpond.com [61.9.168.149]) by mx1.freebsd.org (Postfix) with ESMTP id 00ECF8FC0C for ; Wed, 7 Nov 2012 07:07:31 +0000 (UTC) Received: from nskntotgx04p.mx.bigpond.com ([58.172.113.247]) by nskntmtas05p.mx.bigpond.com with ESMTP id <20121107070730.WBZB24726.nskntmtas05p.mx.bigpond.com@nskntotgx04p.mx.bigpond.com> for ; Wed, 7 Nov 2012 07:07:30 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.113.247]) by nskntotgx04p.mx.bigpond.com with ESMTP id <20121107070730.BDLP9417.nskntotgx04p.mx.bigpond.com@hermes.heuristicsystems.com.au> for ; Wed, 7 Nov 2012 07:07:30 +0000 Received: from black (black.hs [10.0.5.1]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id qA773kNE003598 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Wed, 7 Nov 2012 18:03:47 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Paul Schenkeveld'" References: <20121106184658.GA24262@psconsult.nl> <20121106192704.GM73505@kib.kiev.ua> <20121106195936.GA54581@psconsult.nl> Subject: RE: md(4) (swap-base) disks not cleaned on creation Date: Wed, 7 Nov 2012 18:03:46 +1100 Message-ID: <78F4278EFF694CCE85CA45D844D4A7BB@black> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20121106195936.GA54581@psconsult.nl> Thread-Index: Ac28WVi1JBoxcJl+Q8CgFDlsB4rGiQAWwNbA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Mailman-Approved-At: Wed, 07 Nov 2012 12:40:50 +0000 Cc: freebsd-security@freebsd.org X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 07:07:32 -0000 An excellent example of where swap shouldn't be used. It isn't the use of the swap file that is the issue, it is how the output of using swap is used. PHK was right in his advice to not use swap. Good catch, nanobsd.sh should be changed.