FS#20899 - Installer doesn't work correctly if using software raid and encryption. System isn't bootable.

Attached to Project: Release Engineering
Opened by nylan (nylan) - Tuesday, 21 September 2010, 07:19 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Sunday, 25 December 2011, 14:51 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To Dieter Plaetinck (Dieter_be)
Architecture All
Severity Medium
Priority Normal
Reported Version 2010.05.16-testbuild
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
With the 2010.05(net and core) installer there some issues when creating an encrypted software raid root partition.
The "configure system" part works only the first time, when "Done" is called.
If this part is executed again, then the encrypt hook is called multiple times.

Rebuilding the initcpio images screen shows:
...
::Parsing hook [encrypt]
::Parsing hook [encrypt]
..

Don't know what happens under the hood, but rebooting will present you with the message "Device NAME already exists", after entering the correct password.


Additional info:
mkinitcpio.conf contains:
modules="aes_generic aes_x86_64 ext3 ext4 dm_mod dm_crypt"
hooks="base udev autodetect pata scsi sata usbinput keymap mdadm encrypt filesystems"


Steps to reproduce:
1. start installer
2. create raid for root partition with mdadm
3. start installer
4. create a encrypted root partition and follow the installer until the "configure system" part
5. change to console and generate the mdadm.conf (/mnt/etc/mdadm.conf)
6. configure all relevant parts
7. mkinitcpio.conf should contain hooks mdadm and encrypt
8. choose done
9. enter "configure system" again (make some changes)
10. choose done (now the encrypt hook will be excuted twice)
11. finish the installation
12. reboot
13. enter password
14. read the endless following message "Device root already exists", after entering the correct password.


This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Sunday, 25 December 2011, 14:51 GMT
Reason for closing:  Not a bug
Comment by nylan (nylan) - Tuesday, 21 September 2010, 07:35 GMT
Corrections "Steps to reproduce":
1. boot installer
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 25 December 2011, 14:51 GMT
sorry, no support for raid yet.
see  FS#14149 

Loading...