Bug 745970 - sometimes systemd fails to mount encrypted partition
Summary: sometimes systemd fails to mount encrypted partition
Keywords:
Status: CLOSED DUPLICATE of bug 720178
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 14:31 UTC by Stefan Assmann
Modified: 2012-01-30 09:36 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-30 09:36:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
screenshot.jpg (753.60 KB, image/jpeg)
2011-10-13 14:31 UTC, Stefan Assmann
no flags Details
dmesg.txt (159.36 KB, text/plain)
2011-10-14 07:49 UTC, Stefan Assmann
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.