[Bug 238301] [PATCH] handle encrypted swap in dumpon rc.d script

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Mar 2022 19:12:30 UTC

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
> As for dumping to swap, doesn't that negate the purpose of using encrypted swap
> in the first place?

It depends on one's threat model; there are certainly cases where a user would
choose to use encrypted swap but still want the ability to save a core file.

We could emit a warning for this case though, something like:
if expr ${dev} : .*\\.eli >/dev/null; then
        echo "WARNING: kernel core dumps will be written to swap without
encryption" >&2

You are receiving this mail because:
You are the assignee for the bug.