Created attachment 169100 [details]
Patch against -CURRENT r297697
Find attached a patch to bsdinstall's zfsboot script that prevents adding a swap line to fstab when swapsize is 0.
This looks like my fault.
I added this feature earlier, but didn't account for the case where a user would ask for 0 bytes of swap, but demand that that swap be encrypted.
Thanks for the patch.
A commit references this bug:
Date: Fri Apr 8 15:05:06 UTC 2016
New revision: 297712
Do not add swap to fstab when swapsize is 0
If a user requested encrypted swap, but 0 sized, it would still be added to fstab
Submitted by: Ganael LAPLANCHE <firstname.lastname@example.org>
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.
Thanks Allan !