Bug 745970

Summary: sometimes systemd fails to mount encrypted partition
Product: [Fedora] Fedora Reporter: Stefan Assmann <sassmann>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: harald, johannbg, johannbg, kay, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-30 09:36:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot.jpg
none
dmesg.txt none

Description Stefan Assmann 2011-10-13 14:31:52 UTC
Created attachment 528037 [details]
screenshot.jpg

Description of problem:
About every 10th boot systemd fails to properly mount the encrypted /home partition. I've seen this with f15 already but wasn't sure if I had messed up a configuration file.
Now with a clean install of f16 beta it still happens.

After entering the password for the home partition in plymouth the screen goes black. After pressing escape the screen says
Starting /home aborted because a dependency failed

See screenshot for complete screen output

Version-Release number of selected component (if applicable):
systemd-36-3.fc16.x86_64

How reproducible:
happens about every 10th boot

Steps to Reproduce:
1. enter /home password in plymouth

Actual results:
boot fails asking for root password (maintenance mode)

Expected results:
successful boot

Let me know what debug output would be useful to debug this.

Comment 1 Stefan Assmann 2011-10-13 14:53:47 UTC
Also note that both sda2 (/) and sda4 (/home) are encrypted using the same passphrase and usually when this problem appears systemd asks for the password twice. Once for sda2 and another time for /dev/mapper/luks-dc2f4b9c-4c04-4ae6-a193-f788b09c6ece which maps to sda4.

Normally I only have to enter the passphrase once.

Comment 2 Michal Schmidt 2011-10-13 15:10:23 UTC
Hi Stefan,
add these to your boot parameters:
  log_buf_len=1M systemd.log_level=debug systemd.log_target=kmsg
and when you reproduce the bug, save the output of dmesg.

Comment 3 Stefan Assmann 2011-10-14 07:49:18 UTC
Created attachment 528162 [details]
dmesg.txt

Comment 4 Fedora Admin XMLRPC Client 2011-10-20 16:31:27 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Jóhann B. Guðmundsson 2012-01-29 14:27:13 UTC
Is this still an issue or can this bug be closed?

Comment 6 Stefan Assmann 2012-01-30 07:53:23 UTC
I'm not sure, it was so annoying that I re-installed with a single encrypted partition.

Comment 7 Jóhann B. Guðmundsson 2012-01-30 09:36:15 UTC
Comment 1 indicates this is just yet another symptom of bug 720178 thus closing as duplicate.

*** This bug has been marked as a duplicate of bug 720178 ***