Re: partman extended partition bug

2008-01-17 Thread Grégory Oestreicher
Le mercredi 16 janvier 2008 23:09, Frans Pop a écrit : As you can see, an additional change was needed in partman-auto-lvm to make using a primary partition really work (initialization of devfspv_devices happened after use in create_primary_partitions). Right, and I didn't noticed it as I

Re: partman extended partition bug

2008-01-16 Thread Grégory Oestreicher
Le mercredi 16 janvier 2008 08:29, Frans Pop a écrit : I see roughly what you mean, but have some trouble translating it to a specific situation. With which recipe does this happen (or: how exactly can I reproduce this bug)? Actually there's no recipe that should be impacted by this bug. I

Re: partman extended partition bug

2008-01-16 Thread Frans Pop
On Wednesday 16 January 2008, Grégory Oestreicher wrote: Le mercredi 16 janvier 2008 08:29, Frans Pop a écrit : I see roughly what you mean, but have some trouble translating it to a specific situation. With which recipe does this happen (or: how exactly can I reproduce this bug)?

Re: partman extended partition bug

2008-01-15 Thread Frans Pop
On Monday 14 January 2008, John Philips wrote: I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I don't want it to. I've just committed a fix for this issue. The problem was mainly that the logic in partman auto

Re: partman extended partition bug

2008-01-15 Thread John Philips
I've just committed a fix for this issue. The problem was mainly that the logic in partman auto is fairly complex so properly analyzing the issue took quite some time. It will be fixed with the next upload of partman-auto. FJP, I looked through the source, it is quite daunting.

Re: partman extended partition bug

2008-01-15 Thread Grégory Oestreicher
Le mardi 15 janvier 2008 11:00, Frans Pop a écrit : On Monday 14 January 2008, John Philips wrote: I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I don't want it to. I've just committed a fix for this

Re: partman extended partition bug

2008-01-15 Thread Grégory Oestreicher
(self-answer, sorry) This introduced a bug : now if a LVM PV is created on a primary partition it is not added in $devfspv_devices, and auto_lvm_perform should fail. I confirm this bug, and here is a patch that works for me. It takes all the flagging out of create_partitions and puts it in a

Re: partman extended partition bug

2008-01-15 Thread Grégory Oestreicher
And with the patch now... Sorry for the noise Index: lib/auto-shared.sh === --- lib/auto-shared.sh (révision 50888) +++ lib/auto-shared.sh (copie de travail) @@ -7,7 +7,7 @@ # Create new disk label; don't prompt for label .

Re: partman extended partition bug

2008-01-15 Thread Frans Pop
On Tuesday 15 January 2008, Grégory Oestreicher wrote: Le mardi 15 janvier 2008 11:00, Frans Pop a écrit : On Monday 14 January 2008, John Philips wrote: I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I

partman extended partition bug

2008-01-14 Thread John Philips
Hi all, I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I don't want it to. I only want logical partitions. Described here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413505 Will this bug ever be fixed?

Re: partman extended partition bug

2008-01-14 Thread Colin Watson
On Mon, Jan 14, 2008 at 12:53:46PM -0800, John Philips wrote: I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I don't want it to. I only want logical partitions. It is not possible to create a logical partition

Re: partman extended partition bug

2008-01-14 Thread John Philips
--- Colin Watson [EMAIL PROTECTED] wrote: On Mon, Jan 14, 2008 at 12:53:46PM -0800, John Philips wrote: I'm having trouble automating my Debian installs using preseed and partman. It always creates an extended partition, even though I don't want it to. I only want logical