Bug 724238

Summary: systemd: encrypted /var not mounted during boot
Product: [openSUSE] openSUSE 12.1 Reporter: Ludwig Nussel <lnussel>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: yoshi314
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: dmesg
dmesg with debug on

Description Ludwig Nussel 2011-10-14 14:30:44 UTC
+++ This bug was initially created as a clone of Bug #723404 +++

/dev/vda2 -> luks -> lvm pv -> lvm lv -> ext4 -> /var

systemd shows a password prompt at boot. One can enter the password
(systemd shows stars) but then nothing happens until you are dropped
into emergency mode. If I run "systemctl start
cryptsetup@cr_vda2.service" then the password entry is shown again
but this time the device actually gets unlocked and the system
continues booting normally after logging out. According to the log
the first try to start the service timed out.
Comment 1 Ludwig Nussel 2011-10-14 14:31:43 UTC
Created attachment 456665 [details]
dmesg
Comment 2 Frederic Crozat 2011-10-14 14:35:01 UTC
please reboot with systemd.log_level=debug systemd.log_target=kmsg and give dmesg output.
Comment 3 Ludwig Nussel 2011-10-17 09:29:37 UTC
someone please implement a simple 'debug' option as alias for those two settings :-)
Comment 4 Ludwig Nussel 2011-10-17 09:51:23 UTC
Created attachment 456879 [details]
dmesg with debug on
Comment 5 Frederic Crozat 2011-10-19 13:25:32 UTC
reproduced here.

lvm needs to be kick again after crypsetup (we don't get events to do it automatically).

Please test home:fcrozat:systemd / systemd, it should fix this issue.
Comment 6 Bernhard Wiedemann 2011-10-26 09:00:13 UTC
This is an autogenerated message for OBS integration:
This bug (724238) was mentioned in
https://build.opensuse.org/request/show/89338 Factory / systemd