* [dm-crypt] /etc/crypttab not needed?
@ 2012-01-20 15:18 Markus Melms
2012-01-20 15:34 ` Yves-Alexis Perez
2012-01-20 15:38 ` Thomas Bächler
0 siblings, 2 replies; 4+ messages in thread
From: Markus Melms @ 2012-01-20 15:18 UTC (permalink / raw)
To: dm-crypt
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dm-crypt] /etc/crypttab not needed?
2012-01-20 15:18 [dm-crypt] /etc/crypttab not needed? Markus Melms
@ 2012-01-20 15:34 ` Yves-Alexis Perez
2012-01-28 9:39 ` Markus Melms
2012-01-20 15:38 ` Thomas Bächler
1 sibling, 1 reply; 4+ messages in thread
From: Yves-Alexis Perez @ 2012-01-20 15:34 UTC (permalink / raw)
To: Markus Melms; +Cc: dm-crypt
On ven., 2012-01-20 at 16:18 +0100, Markus Melms wrote:
> 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,
--
Yves-Alexis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dm-crypt] /etc/crypttab not needed?
2012-01-20 15:18 [dm-crypt] /etc/crypttab not needed? Markus Melms
2012-01-20 15:34 ` Yves-Alexis Perez
@ 2012-01-20 15:38 ` Thomas Bächler
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Bächler @ 2012-01-20 15:38 UTC (permalink / raw)
To: dm-crypt
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
Am 20.01.2012 16:18, schrieb Markus Melms:
> 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.
crypttab is not a part or feature of cryptsetup. Ask the Debian people
about it.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-28 9:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20 15:18 [dm-crypt] /etc/crypttab not needed? Markus Melms
2012-01-20 15:34 ` Yves-Alexis Perez
2012-01-28 9:39 ` Markus Melms
2012-01-20 15:38 ` Thomas Bächler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox