[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#434027: partman-crypto: loop-aes fails with "not supported by kernel"



tags 434027 + pending
thanks

I've hit one snag implementing a fix for this. As losetup is not 
available, we cannot "see" what precisely is loop-mounted on a certain 
loop device, so we cannot loop over all loop-mounted devices and 
unmount/remount them.

I've "solved" this by just assuming that we only use loop-mounting for the 
CD image in hd-media installs. If a CD image is mounted, the image will 
be unmounted, loop replaced by loop-aes, and finally the image will be 
remounted.

I've included some sanity checks, so if something else is using loop, 
partman should now fail in a controlled manner and with proper indication 
in the syslog why it's failing.

Cheers,
FJP

Attachment: pgpPUHp4QhcuP.pgp
Description: PGP signature


Reply to: