[pkg-cryptsetup-devel] Bug#671037: Bug#671037: can not change target name of root in /etc/crypttab

Adam Lee adam8157 at gmail.com
Sun Jun 10 14:06:48 UTC 2012


On Fri, Jun 08, 2012 at 12:01:59PM +0200, Jonas Meurer wrote:
> severity 671037 wishlist
> thanks
> 
> Hey Adam,
> 
> you're right, there's no easy way to rename the target name of your
> encrypted rootfs without breaking initramfs stuff. Unfortunately
> there's no easy way to implement support for it either.
> 
> The function add_device() in cryptroot initramfs hook script uses the
> target name for a reason, only target device is available from /etc/fstab.
> 
> And one could as well argument the other way around: currently it's
> easier to change the source device after moving to another
> disk/partition, that would be more complicated if the source device
> was source for information in add_device().
> 
> To be honest, I don't consider renaming target name a important
> feature. Feel free to provide patches that implement support for it if
> you disagree.

I agree this is not a important feature. Will try to implement.

> Another option would be to document the limitation and your workaround
> in README.Debian. What do you think about that?

My workaround is dangerous, maybe just adding this problem to the know
issues of crypttab manpage is better.





More information about the pkg-cryptsetup-devel mailing list