Bug 475912 - Bootup drops into text mode (--hide-splash) upon detection of non luks encrypted filesystems.
Summary: Bootup drops into text mode (--hide-splash) upon detection of non luks encryp...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Blocker, F11FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2008-12-11 02:28 UTC by Fred Wells
Modified: 2014-03-17 03:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-16 15:06:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
start of a patch (542 bytes, patch)
2008-12-11 15:36 UTC, Bill Nottingham
no flags Details | Diff

Description Fred Wells 2008-12-11 02:28:06 UTC
Description of problem:

rc.sysinit drops into text mode (plymouth --hide-splash) when detecting non-luks encrypted filesystems, even if the filesystems are otherwise properly created with cryptsetup (sans luksFormat).

Version-Release number of selected component (if applicable):

Fedora 10
initscripts-8.86-1.i386

How reproducible:

Every time

Steps to Reproduce:
1.  Create non-luks encrypted filesystem using cryptsetup
2.  Update /etc/crypttab accordingly
3.  Reboot
  
Actual results:

Plymouth drops into text mode at line 233 of /etc/rc.d/rc.sysinit due to detection of non-luks formatted encrypted filesystem.

Expected results:

Since non-luks encryption is perfectly valid, Fedora shouldn't drop into text mode as though this is an error.

Additional info:

I'm really not looking forward to reformatting my encrypted filesystems.  Would be great if Fedora was less restrictive.

Comment 1 Fred Wells 2008-12-11 14:25:16 UTC
This problem is also triggered simply by encrypting "swap", whether luks or not.   I guess I don't understand why either condition should force text boot.

Comment 2 Bill Nottingham 2008-12-11 15:36:12 UTC
Created attachment 326630 [details]
start of a patch

Try this  - it should catch the first part where this triggers.

Comment 3 Fred Wells 2008-12-11 23:29:11 UTC
That works!  

Tested with a a mix of luks and non-luks encrypted filesystems as well as swap.

Will this fix be making it's way into a future initscripts update?

Comment 4 Bill Nottingham 2008-12-16 15:06:53 UTC
At some point, yes.

Fixed in  http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=7b8ad9cd0d276da648bb41ffa9fb27f2b123e07f (ignore the changelog, it's for the other part of that change.)


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