Bug 12433

Summary: Assigning a volume label containing spaces causes dracut to fail during reboot
Product: Mageia Reporter: William Murphy <warrendiogenese>
Component: RPM PackagesAssignee: Colin Guthrie <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: release_blocker CC: ennael1, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: dracut CVE:
Status comment:
Attachments: Dracut rdsosreport.txt from failed boot
lspcidrake output
rdsosreport from dual install using 'dual iso' as label

Description William Murphy 2014-01-25 15:56:30 CET
Description of problem:
During testing, labels were used to help keep track of the different installations. If I used spaces in the label names, the installation finish without problem, but rebooting into the newly installed system seemed to hang for a while, then dropped to a debug shell. First line reading:

dracut Warning: could not boot

Then warning:

dracut Warning: /dev/disk/by-label/<first word> does not exist


Version-Release number of selected component (if applicable):
Second round final Mageia 4 isos

How reproducible: Every time.

Steps to Reproduce:
1. Start installation using any Mageia 4 iso
2. During partitions, enter expert mode and set label of root partion using 2 or more words.
3. Finish install and reboot machine.


Reproducible: 

Steps to Reproduce:
Comment 1 William Murphy 2014-01-25 15:58:07 CET
Created attachment 4873 [details]
Dracut rdsosreport.txt from failed boot

From the Gnome Live i586 iso
Comment 2 William Murphy 2014-01-25 15:59:40 CET
Created attachment 4874 [details]
lspcidrake  output

lspcidrake output from the same iso.
Comment 3 William Murphy 2014-01-25 16:41:57 CET
Created attachment 4876 [details]
rdsosreport from dual install using 'dual iso' as label

Previous rdsosreport was for a different error that's since been fixed. Sorry about that.

lspcidrake should be the same.

Here is the a rdsosreport.txt where 'dual iso' was used as the label name.

Attachment 4873 is obsolete: 0 => 1

Thierry Vignaud 2014-01-26 18:19:47 CET

Priority: Normal => release_blocker
CC: (none) => thierry.vignaud
Component: Installer => RPM Packages
Assignee: bugsquad => mageia
Source RPM: (none) => dracut
Severity: normal => major

Comment 4 Colin Guthrie 2014-01-26 18:52:06 CET
I think the quick fix here would be to ban spaces in the installer. Thierry WDYT?

If we don't we'd have to encode the labels in lots of places including on the kernel command line etc. etc. which seems like a lot of work.
Comment 5 Anne Nicolas 2015-01-20 22:36:58 CET
Just tested using beta 2 iso and it works perfecty. I've used a label for root file system, "systeme racine". Then system rebooted perfectly after install. 

Using 
e2label /dev/sda1
gives
systeme racine

Closing this bug. Feel free to reopen if needed

Status: NEW => RESOLVED
CC: (none) => ennael1
Resolution: (none) => FIXED