[dm-crypt] dm-crypt boot messages

Milan Broz gmazyland at gmail.com
Mon Jul 9 08:34:34 CEST 2012


On 07/09/2012 06:28 AM, David Christensen wrote:
> dm-crypt:
> 
> Are dm-crypt boot messages written to a log?  dmesg doesn't seem to have 
> them, and "grep -r sda1_crypt /var/log" yields nothing...

Kernel dm-crypt uses standard kernel log facility, so all errors are
be visible in kernel log (but it is quiet if there is no problem).

Userspace (cryptsetup/LUKS) uses std out/std err it is upt to initsystem
to catch these messages (e.g. plymouth or systemd does this IIRC).
There is no direct option to use system syslog in cryptsetup.

Milan


More information about the dm-crypt mailing list