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

Bug#516347: marked as done (debian-installer: guided-with-lvm no longer allows multiple primary partition)



Your message dated Tue, 14 Jul 2009 15:33:37 +0000
with message-id <E1MQk0f-0005p9-Se@ries.debian.org>
and subject line Bug#516347: fixed in partman-auto 87
has caused the Debian Bug report #516347,
regarding debian-installer: guided-with-lvm no longer allows multiple primary partition
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.)


-- 
516347: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516347
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20090123
Severity: normal

With etch's debian-installer we used the preseed lines below to
automatically setup our partitions. /boot and / as primary
partitions, all others as logical volumes.

d-i partman-auto/init_automatically_partition \
   select Guided - use entire disk and set up LVM

d-i partman-auto/expert_recipe string                         \
      boot-root-lvm ::                                        \
              100 512 200 ext2                                \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext2 }    \
                      mountpoint{ /boot }                     \
              .                                               \
              1000 512 1000 xfs                               \
                      $primary{ }                             \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ / }                         \
              .                                               \
              512 512 200% linux-swap                         \
                      $lvmok{ }                               \
                      method{ swap } format{ }                \
              .                                               \
              3000 512 4000 xfs                               \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /usr }                      \
              .                                               \
              2000 512 3000 xfs                               \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /var }                      \
              .                                               \
              100 384 200 xfs                                 \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /var/tmp }                  \
              .                                               \
              512 384 2000 xfs                                \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /tmp }                      \
              .                                               \
              200 256 1000 xfs                                \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /home }                     \
              .                                               \
              200 256 1000 xfs                                \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /srv }                      \
              .                                               \
              10 128 1000000000 xfs                           \
                      $lvmok{ }                               \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ xfs }     \
                      mountpoint{ /tobedeleted }              \
              .



Now with d-i from lenny, it refuses to accept our receipe by
complaining: Can't have a partition outside the disk!

In /var/log/partman I can find:

parted_server: add_primary_partition(disk(67108864),2345490-67109161)
parted_server: OUT: Error
parted_server: OUT: Can't have a partition outside the disk!
parted_server: OUT:
parted_server: OUT: Cancel
parted_server: OUT:
/bin/autopartition-lvm: error_handler: exception with type Error
...

The exact same receipe on the same machine with the etch installer
works fine. So I'm not sure if this is now the indeed behavior of
guided-with-lvm (compared to etch) or just some regression.

Andreas

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: partman-auto
Source-Version: 87

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

partman-auto_87.dsc
  to pool/main/p/partman-auto/partman-auto_87.dsc
partman-auto_87.tar.gz
  to pool/main/p/partman-auto/partman-auto_87.tar.gz
partman-auto_87_i386.udeb
  to pool/main/p/partman-auto/partman-auto_87_i386.udeb



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 516347@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated partman-auto 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: Tue, 14 Jul 2009 14:35:51 +0100
Source: partman-auto
Binary: partman-auto
Architecture: source i386
Version: 87
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 partman-auto - Automatically partition storage devices (partman) (udeb)
Closes: 516347
Changes: 
 partman-auto (87) unstable; urgency=low
 .
   * Add support for writing sizes as a number plus a percentage of RAM, e.g.
     "2000+50%". This is useful when doing automatic partitioning with the
     expectation of creating swap files.
   * If we're creating primary partitions and find that we've reached the end
     of the recipe, use "full" rather than "beginning" as the place passed to
     NEW_PARTITION, thereby avoiding rounding problems and matching the
     process for creating logical partitions (closes: #516347, LP: #287571).
 .
   [ Updated translations ]
   * Hindi (hi.po)
Checksums-Sha1: 
 3a464bf658210163142c99aafbe75b2719b3865b 938 partman-auto_87.dsc
 e5fa8142d137ff1ef946f17fda44fea165751507 107329 partman-auto_87.tar.gz
 7174e3d973b7d90a9621040d1736d8bdf0a4c8fd 75044 partman-auto_87_i386.udeb
Checksums-Sha256: 
 457cedb2e2ac7ca8af01405a6f78cc2eb418155a6acca0dc844f0a9d573cc433 938 partman-auto_87.dsc
 32b36fd5c648e0fda0a00be7f63fd750e9476e655a3168365517b3c23947cd70 107329 partman-auto_87.tar.gz
 0be76dad36a60d0a1c67ac5d26c6a1cec0189ce362de7656ced0ebd14f860536 75044 partman-auto_87_i386.udeb
Files: 
 c6df922ce4ba040dd2c31c19dde846f5 938 debian-installer standard partman-auto_87.dsc
 379b365ce5a08ad68db627a6cc7ddb26 107329 debian-installer standard partman-auto_87.tar.gz
 3dce655a85fd9e091563cff8fc4f9f45 75044 debian-installer standard partman-auto_87_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iD8DBQFKXJBI9t0zAhD6TNERAglIAJ9Q+RW34SRvZC7nG/eBFQSJfp0XngCfRhnV
EjCSP/vGXmMjEnnjCDB2lJI=
=4ue5
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: