Bug#350922: [Pkg-cryptsetup-devel] Bug#350922: not existant

Jonas Meurer jonas at freesources.org
Thu Feb 2 17:45:42 UTC 2006


On 02/02/2006 To gebi at sbox.tugraz.at wrote:
> > Imho it should check if there is _any_ valied filesystem on the  
> > swappartition and refuses to format it if there is any (because swap  
> > is really dangerous in this situation).
> 
> no, that is what a postcheck should do. start cryptsetup, check for a
> swap partition, and run swapon only if the check succeeds.

what is bullshit in reality.

nobody will use a constant key for his/her swap partition,
/dev/[u]random is the only sane key for encrypted swap.
thus, the check for swap-headers will always fail. maybe we should drop
the postchecks/swap check. what do you think?

...
 jonas




More information about the Pkg-cryptsetup-devel mailing list