Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How is my second luks volume getting decrypted, or is it?

I have two 1TB drives. Each one has a LUKS container on it. These get decrypted at boot, and are both used for a btrfs "RAID1" filesystem which I put pictures and stuff on.

Both of the disks have the same LUKS passphrase. When I boot the system, while still in text mode, systemd pauses to ask for the password to unlock one of the drives, and names which drive it is. This is all expected up till now, but it never asks for the second password. The system continues to boot after I enter the password. In fact, after boot, both devices show up as unlocked and part of the btrfs.

[   43.105591] BTRFS: device label reedhome-btrfs1 devid 2 transid 27042 /dev/dm-0
[   43.117389] BTRFS: device label reedhome-btrfs1 devid 1 transid 27042 /dev/dm-1
[   43.141169] audit_printk_skb: 21 callbacks suppressed
[   43.141171] audit: type=1130 audit(1473560583.149:73): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-cryptsetup@WD1003FBYX\x2d01Y7B1\x2dWD\x2dWMAW31304295 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   43.172664] audit: type=1130 audit(1473560583.180:74): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-cryptsetup@WD10EARS\x2d003BB1\x2dWD\x2dWCAV5L434482 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   43.181249] BTRFS info (device dm-1): disk space caching is enabled

This section of dmesg shows that both are being unlocked. Where should I look first, dig thru systemd?