[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#496093: Installer breaks with RAID, LVM, Encryption



reassign 496093 cdebconf
severity 496093 important
tags 496093 + pending
thanks

On Fri, Aug 22, 2008 at 06:15:47PM +0200, Tobias Rheinwald wrote:
> Boot method: Businesscard CD, Snapshot from 2008-08-22
> Image version: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-businesscard.iso
> Date: 2008-08-22
> 
> I have the following goal for a new file server. Since I would like to
> test data security/safety before installing the real machine, I tried
> it on a VM with VirtualBox 1.6.4 (Windows). (The behavior could be
> reproduced with VMware Server 1.0.6, as well.)
> 
> VirtualBox supports SATA disks. I created three 2GB SATA disks.
> 
> My goal:
> 250M /dev/sd[abc]5 --> RAID1: /dev/md0 --> ext3 --> /boot
> 500M /dev/sd[abc]6 --> crypt (random key) --> swap
> 1.4G /dev/sd[abc]7 --> RAID5: /dev/md1 --> LVM: vg1 --> LV: /dev/mapper/vg1-root --> crypt (password) --> /

Note: The usual setup is to put the encryption layer before LVM but
that's not relevant to the problem.

> […]
> But the installer crashes and automatically restarts after step 4
> (LVM).

The issue lies in cdebconf:
 * partman/choose_partiton is aligned through ${!TAB} debconf
   directives,
 * these directives are expanded in strexpand(),
 * strexpand() uses a static buffer.

This buffer was too small for the complexity of such partitioning
screen.

I have commited a patch that makes this buffer dynamically allocated to
get rid of this issue.

After this fix, I was able to complete your setup sucessfully.

Thanks for your detailed report. :)

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: