Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 16:30:34 -0800
From:      Michael Sierchio <kudzu@tenebras.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: GELI Swap password on boot
Message-ID:  <CAHu1Y73mZN6KPVDYKhAZaK0a5dE=DVdtQsRM-CuyzoGkA0p0wg@mail.gmail.com>
In-Reply-To: <CADhH34ofeV4N-3vmJAiNvi1%2B_A_3mMgd1eXjCSR6dUeXanQktw@mail.gmail.com>
References:  <CADhH34ofeV4N-3vmJAiNvi1%2B_A_3mMgd1eXjCSR6dUeXanQktw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 7, 2012 at 4:20 PM, Mike Barnard <mike.barnardq@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y73mZN6KPVDYKhAZaK0a5dE=DVdtQsRM-CuyzoGkA0p0wg>