Issue was mentioned recently on stable@
The problem is in order of rc.d scripts. After encswap finishes it's
impossible to open original (not encrypted) swap device for write so
Fix: The following patch adds 'encswap' target to be run after 'disks' but
before 'swap1'. With the patch order of scripts becomes:
The problem is that savecore looses ability to log to syslog. You still get
messages on console. The only solution I see is to use some hackery
magic to inject log messages into kern.msgbuf with the help of
/dev/console. I'm not sure it's really needed.
I use this patch since apr 2008. It works for me.
Patch attached with submission follows:
How-To-Repeat: 1. enable swap encryption
/dev/ad0s3b.eli none swap sw 0 0
2. setup dumpdev. in /etc/rc.conf
3. force panic.
4. savecore can't read dump because dumpdev is already open for write.
Over to maintainer(s).
From misfiled PR conf/125087:
Date: Sun, 29 Jun 2008 02:35:30 +0300
In ElectroBSD this is solved by letting swapon accept the "late" option:
swapon accepts the "late" option on all supported branches now so
this PR can probably be closed.
I agree :)