Skip to contentSkip to conversation

dm-crypt boot messages

dm-crypt David Christensen 2 participants 2 messages Jul 9, 2012

lore
Share & tools
lore
#0 lore raw

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...

TIA,

David

#1 lore raw
Quoted 4 lines · David Christensen

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