/etc/crypttab not needed?
Hi,
what is the advantage of using /etc/crypttab?
When I was using it, I got errors during shutdown: "stopping early crypto disks failed". This sounds sensible since the root-fs is encrypted.
Now that I'm not using it, disks still get mounted on startup and the error during shutdown is gone.
Is it ok to not use /etc/crypttab? I'd rather not use it, makes it easier for me to synchronise /etc between different clients.
Thanks
Markus
My configuration: Debian Squeeze, cryptsetup 1.1.3, Kernel 2.6.32. Im booting using an initrd./dev/mapper/root_crypt is mounted on //dev/sda2 is mounted on /boot
Quoted 2 lines · Markus Melms
Is it ok to not use
/etc/crypttab? I'd rather not use it, makes it easier for me to synchronise /etc between different clients.
Afaict, it'll fail the next time you'll rebuild your initrd and reboot. crypttab is used at initrd creation time in order to properly mount the root fs.
Regards,
Signature · 1 line
Yves-Alexis
Quoted 2 lines · On Fri, 20 Jan 2012 16:34:25 +0100 Yves-Alexis Perez <[email protected]> wrote:
crypttab is used at initrd creation time in order to properly mount the root fs.
True, I tried it.
Thanks
Markus
Am 20.01.2012 16:18, schrieb Markus Melms:
Quoted 8 lines
Hi,
what is the advantage of using
/etc/crypttab?When I was using it, I got errors during shutdown: "stopping early crypto disks failed". This sounds sensible since the root-fs is encrypted.
Quoted 5 lines
Now that I'm not using it, disks still get mounted on startup and the error during shutdown is gone.
Is it ok to not use
/etc/crypttab? I'd rather not use it, makes it easier for me to synchronise /etc between different clients.
crypttab is not a part or feature of cryptsetup. Ask the Debian people about it.