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

Bug#496093: marked as done (Installer breaks with RAID, LVM, Encryption)



Your message dated Mon, 25 Aug 2008 21:17:27 +0000
with message-id <E1KXjRH-0003Sw-Ct@ries.debian.org>
and subject line Bug#496093: fixed in cdebconf 0.134
has caused the Debian Bug report #496093,
regarding Installer breaks with RAID, LVM, Encryption
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
496093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496093
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports

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

Machine: VirtualBox 1.6.4 (running on Windows XP Pro SP3)
Processor: virtual (VM), Core 2 Duo (host)
Memory: 512MB (VM), 3GB (host)
Partitions: see below

Output of lspci -nn and lspci -vnn:

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

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) --> /

- Use crypt and RAID5 for the root partition to keep the data safe and secure.

- Keep /boot on a RAID1 to be bootable.

- Use three swap partitions to keep the same HDD layout on all disks.


Steps taken to get to the goal:

1. Partition disks

  a. /dev/sd[abc]5: 250M, raid

  b. /dev/sd[abc]6: 500M, crypt (random key)

  c. /dev/sd[abc]7: 1.4G, raid

2. Configure software RAID

  a. /dev/md0: RAID1, /dev/sd[abc]5

  b. /dev/md1: RAID5, /dev/sd[abc]7

3. Partition disks

  a. /dev/md1: lvm

4. Configure LVM

  a. /dev/md1: volume group (name: vg1)

  b. vg1: Create LV (name: root, size: 2G)

5. Partition disks

  a. /dev/mapper/vg1-root: crypt (passphrase)

6. Configure encrypted volumes

  a. /dev/sd[abc]6 are automatically set up (swap)

  b. /dev/mapper/vg1-root_crypt is automatically set up (ext3)

7. Partition disks

  a. /dev/mapper/vg1-root_crypt: ext3, /

  b. /dev/md0: ext3, /boot

(In short: Create all partitions, create all RAID volumes, create LVM volume, create encrypted volumes, set mountpoints.)


But the installer crashes and automatically restarts after step 4 (LVM). When it restarts, the main menu is seen. Selecting "Partiton disks" will lead to the progress bar being stuck at 52%. Game over.

The restart message was: init: init: process '/bin/cttyhack /sbin/debian-installer' (pid 1002) exited. Scheduling for restart.

Since I tried it in a VirtualBox VM, I guess this can be very easily reproduced.

The problem of the installer crashing did *not* occur with beta 2 of the installer. However, the encrypted swap-on-RAID didn't work properly. (I think this issue has been solved in the meantime.)




--- End Message ---
--- Begin Message ---
Source: cdebconf
Source-Version: 0.134

We believe that the bug you reported is fixed in the latest version of
cdebconf, which is due to be installed in the Debian FTP archive:

cdebconf-gtk-udeb_0.134_i386.udeb
  to pool/main/c/cdebconf/cdebconf-gtk-udeb_0.134_i386.udeb
cdebconf-newt-udeb_0.134_i386.udeb
  to pool/main/c/cdebconf/cdebconf-newt-udeb_0.134_i386.udeb
cdebconf-priority_0.134_all.udeb
  to pool/main/c/cdebconf/cdebconf-priority_0.134_all.udeb
cdebconf-text-udeb_0.134_i386.udeb
  to pool/main/c/cdebconf/cdebconf-text-udeb_0.134_i386.udeb
cdebconf-udeb_0.134_i386.udeb
  to pool/main/c/cdebconf/cdebconf-udeb_0.134_i386.udeb
cdebconf_0.134.dsc
  to pool/main/c/cdebconf/cdebconf_0.134.dsc
cdebconf_0.134.tar.gz
  to pool/main/c/cdebconf/cdebconf_0.134.tar.gz
cdebconf_0.134_i386.deb
  to pool/main/c/cdebconf/cdebconf_0.134_i386.deb
libdebconfclient0-dev_0.134_i386.deb
  to pool/main/c/cdebconf/libdebconfclient0-dev_0.134_i386.deb
libdebconfclient0-udeb_0.134_i386.udeb
  to pool/main/c/cdebconf/libdebconfclient0-udeb_0.134_i386.udeb
libdebconfclient0_0.134_i386.deb
  to pool/main/c/cdebconf/libdebconfclient0_0.134_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 496093@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Bobbio <lunar@debian.org> (supplier of updated cdebconf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 25 Aug 2008 22:17:19 +0200
Source: cdebconf
Binary: cdebconf libdebconfclient0 libdebconfclient0-dev cdebconf-udeb cdebconf-priority libdebconfclient0-udeb cdebconf-slang-udeb cdebconf-newt-udeb cdebconf-text-udeb cdebconf-gtk-udeb
Architecture: source all i386
Version: 0.134
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Jérémy Bobbio <lunar@debian.org>
Description: 
 cdebconf   - Debian Configuration Management System (C-implementation)
 cdebconf-gtk-udeb - Gtk+ frontend for Debian Configuration Management System (udeb)
 cdebconf-newt-udeb - Newt frontend for Debian Configuration Management System (udeb)
 cdebconf-priority - Change debconf priority (udeb)
 cdebconf-slang-udeb - S-Lang frontend for Debian Configuration Management System (udeb)
 cdebconf-text-udeb - Plain text frontend for Debian Configuration Management System (udeb)
 cdebconf-udeb - Debian Configuration Management System (C-implementation) (udeb)
 libdebconfclient0 - Debian Configuration Management System (C-implementation)
 libdebconfclient0-dev - Development files for cdebconf
 libdebconfclient0-udeb - Debian Configuration Management System (C-implementation) (udeb)
Closes: 487691 496093
Changes: 
 cdebconf (0.134) unstable; urgency=low
 .
   [ Jérémy Bobbio ]
   * Refactor GOBACK handling in newt_go().
   * Refactor GOBACK handling in text_go().
   * Skip error questions when going back in text and newt frontends.
     (Closes: #487691)
   * Use a dynamically allocated rope in strexpand().
     (Closes: #496093)
   * Increase extra fd numbers by 30 in confmodule_run().
     This is necessary as the new method of switching from /dev/console to the
     real device open more file descriptors in the process space.
 .
   [ Colin Watson ]
   * When receiving a new template with DATA, ensure that the corresponding
     question is registered to that template.
 .
   [ Updated translations ]
   * Arabic (ar.po) by Ossama M. Khayat
   * French (fr.po) by Christian Perrier
   * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
Checksums-Sha1: 
 16815807662dcc30eb305703bdf8972bf9ec1dc9 1337 cdebconf_0.134.dsc
 003ff7c14c930f8c389c426589788bb0247adc88 308822 cdebconf_0.134.tar.gz
 659d7b11e545a12310024719e3e7fbac4798b667 2706 cdebconf-priority_0.134_all.udeb
 fdbfc37bcdcbe9bd8fc1e8b79ddd10456f293e63 159780 cdebconf_0.134_i386.deb
 d683033cc3fb2f0c9aa595652f91176192394365 37312 libdebconfclient0_0.134_i386.deb
 3b7a1ab5a2f81bb7e76f6cc7ff5ae58ecb47f8f2 43438 libdebconfclient0-dev_0.134_i386.deb
 166ae1be0162c5df3f03a134c282e848407bf33c 72958 cdebconf-udeb_0.134_i386.udeb
 3bab9efa5c405dd099268a037cd8ca798dc4a31e 3004 libdebconfclient0-udeb_0.134_i386.udeb
 ff2e27d24ea9ff9325803359723da48724ceaea5 17442 cdebconf-newt-udeb_0.134_i386.udeb
 498ab7edbf0236d16a3962380633439bc0058c4e 18738 cdebconf-text-udeb_0.134_i386.udeb
 ef354452745553381567e227d3ed3ed316011fc4 28810 cdebconf-gtk-udeb_0.134_i386.udeb
Checksums-Sha256: 
 3ef2ee72297ac0ef2af4af7f5f943a0411e2c7618fdec6b2ac098a1dd9eb8e6a 1337 cdebconf_0.134.dsc
 a48701959ba395eb652fe29c27a4236077715dc186fd6ba74ffa76ec7f619351 308822 cdebconf_0.134.tar.gz
 4ecb45c665aef78b1d56bf3b3b4cae71e36b2a2d077f7223a41ada3d241e8cfc 2706 cdebconf-priority_0.134_all.udeb
 a2604327c0269f4f4c660a40d4f63bc50d5d4ffc7b324ce2e494eec54d45bb5e 159780 cdebconf_0.134_i386.deb
 06b193cc926e7d15e82efbe0bd6b747bb6058e238f865624347d6f73f8f72371 37312 libdebconfclient0_0.134_i386.deb
 0c78da568b6d8dbc71a7283c1fd98e1536d5116562a43389c8b9abd8153608d6 43438 libdebconfclient0-dev_0.134_i386.deb
 84e7915571841eb2b181251c9cb6e4b39eb4651ebe985f8ae7c193fd592e42c6 72958 cdebconf-udeb_0.134_i386.udeb
 b6cd33f25c04445c0f690f8cab08ee1a72ba2febeaa92172a09a34f914e6114c 3004 libdebconfclient0-udeb_0.134_i386.udeb
 2a1d91839576c8ea7f4959da72e36207777eb84addf3e69901247b21be8110ae 17442 cdebconf-newt-udeb_0.134_i386.udeb
 e422e48260bc72fdb06dd6d5c8cf32a877015ff1356ffb31f6414fa68eaa5c90 18738 cdebconf-text-udeb_0.134_i386.udeb
 6187f78ac9134737a73931bded31f16292f63a76b2e3a7e2f00cbaf7f6329d69 28810 cdebconf-gtk-udeb_0.134_i386.udeb
Files: 
 9119f2dcf7b4b5536b481d3a2327f772 1337 utils optional cdebconf_0.134.dsc
 5f467438852856f1c572bcc5038ca105 308822 utils optional cdebconf_0.134.tar.gz
 b896673eb3a120c4d0836177e8bbfd5a 2706 debian-installer standard cdebconf-priority_0.134_all.udeb
 83e765df93f83026b46e621685726bb2 159780 utils extra cdebconf_0.134_i386.deb
 95d2f1baccb0546e448e9f87b31e99b0 37312 libs optional libdebconfclient0_0.134_i386.deb
 ef385f314cf18d51bd72a2fc2be35203 43438 libdevel optional libdebconfclient0-dev_0.134_i386.deb
 763c3c2e82fe262a0535ecbb78018652 72958 debian-installer standard cdebconf-udeb_0.134_i386.udeb
 ac3da8ada8f8092b40bd7264c9d644f7 3004 debian-installer optional libdebconfclient0-udeb_0.134_i386.udeb
 389492582f09e149276e1b3e013bd659 17442 debian-installer optional cdebconf-newt-udeb_0.134_i386.udeb
 62f5a8a9b83df5c689c12b115e18e45f 18738 debian-installer optional cdebconf-text-udeb_0.134_i386.udeb
 809bbae74c82d56dc3ccd9dd6fe57687 28810 debian-installer optional cdebconf-gtk-udeb_0.134_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIsxQa2PUjs9fQ72URAmkMAJ4hWDQRAC77Obv+cTWSQGFs1JL4MwCeNFHb
uoTEpM7Xzb8Rmmo3v/R36Rk=
=19S0
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: