From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 00:30:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CA536DB for ; Thu, 8 Nov 2012 00:30:36 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id A26818FC08 for ; Thu, 8 Nov 2012 00:30:35 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so1601031eek.13 for ; Wed, 07 Nov 2012 16:30:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=FYQJm8i38F6kwgZ4JxTV45mChhVDkNivRRFW4Vhxlyw=; b=K/OEjwuAEWVHC609a1dElf9apn5dZOWi3HjHNtbKsSjQIp01VClea0HiX/v2xSy8d/ oKtEi/0opzt022jJN2qsPopks9aUJqlR+pk6W3qsWwA//+6GCY2pgogMDlFCJpJTS/sp JUPDliELM8SRYUjIEMdOWIQ7/iFtiSsZKz8HRC3XQYYqzKNzVXPmC0Foc73fNmI9Kxc5 NeF3zY/Fc1L2Nh/M5On34i9r7GWYpLz7nXoKaE7OYje31KGSiFDXFCwTVDuO3JoN9+yc dTAiIOu4syi8uOrHhWYUvPR2lC2ymDsniP6Gv5/rCcBFSiYJm+F/po0Q1jtjBh1GIjP4 2WRg== MIME-Version: 1.0 Received: by 10.14.179.69 with SMTP id g45mr21081535eem.42.1352334634401; Wed, 07 Nov 2012 16:30:34 -0800 (PST) Received: by 10.223.71.194 with HTTP; Wed, 7 Nov 2012 16:30:34 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Nov 2012 16:30:34 -0800 Message-ID: Subject: Re: GELI Swap password on boot From: Michael Sierchio To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlTTimVd18nIBVVv/4bXQh85TSGTyDyAeTnAIM5f5/CC5lT3NSkOCr07HDbFiXwlXRnDafL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 00:30:36 -0000 On Wed, Nov 7, 2012 at 4:20 PM, Mike Barnard wrote: > Hi, > > I am running FreeBSD 9.0-RELEASE and I am experiencing some strange > behaviour with GELI. > > Every time I boot up my computer, I get a request to enter the Encryption > password for swap. swap is not encrypted and should not be asking for an > encryption password. > > I have checked and ensured that there are no providers for geli for the > ada0p3 partition. Any one have pointers on what I could check for to > rectify this. in /etc/fstab you should have: /dev/ada0p3.eli none swap sw 0 0 in /etc/rc.conf you should have (something like): geli_swap_flags="-e aes -l 256 -s 4096 -d" /etc/rc.d/encswap will generate a random password