Control: notfound -1 0.131ubuntu8 Control: found -1 0.132 Control: tag -1 wontfix
On Sun, 2018-08-19 at 15:39 +0300, Nazar Mokrynskyi wrote: > Package: initramfs-tools > Version: 0.131ubuntu8 > Severity: wishlist > > > Hi, > I'd like to have fully encrypted system with partition table inside > of LUKS container. It is easier to manage for me than multi-layer > LVM. LVM inside LUKS (I don't know why you call it multi-layer LVM) is well supported in Debian, so I find this statement surprising. What's more, Linux block drivers have to opt in to supporting partitions, and dm-crypt doesn't do that. So the kernel doesn't look for a partition table on a dm-crypt device. > However, there are 2 issues with this described here: > https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1786688 > > The first issue is that after decryption of LUKS container there is a > filesystem check and `get_fstype` function returns `undefined` for > any partition table. > > I'd like it to return `pttable` or something similar instead, so that > after decryption it will not lock container back with "unknown > fstype, bad password or options?". [...] I think the current behaviour of get_fstype is correct. It doesn't print any error message; it just tells the caller whether a filesystem was detected and if so what type it is. It's up to the caller whether to treat a failure as fatal, or to check for a partition table as well. Ben. -- Ben Hutchings For every action, there is an equal and opposite criticism. - Harrison
signature.asc
Description: This is a digitally signed message part