Re: Bug#905793: Why does the Installer formats given swap

2018-08-10 Thread John Paul Adrian Glaubitz
On 08/11/2018 01:56 AM, Herbert Kaminski wrote:
> Why I care at all: In the past, I used to test the Debian installer on
> my main computer as it was the only one with up to date hardware, and I
> had on it my working OS and a spare installation, and one or two DI
> test installations. I found it quite annoying that after each test
> the UUID of the swap changed, so I stopped testing DI. 

What's wrong with using a virtual machine for that? Why test d-i
on real hardware? On a VM, you'd just throw away the image afterwards.

> BTW the 5 people in the world having more than one installation on the
> same machine presumably know well how to avoid the potential problems of
> shared swap.

That's fine. But software has to adjust for the needs of 99.99% of its
users and not to 5 people who have an exotic usecase.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Bug#905793: Why does the Installer formats given swap

2018-08-10 Thread Herbert Kaminski
Am Fri, 10 Aug 2018 11:00:31 -0400
schrieb lsore...@csclub.uwaterloo.ca (Lennart Sorensen):

> On Fri, Aug 10, 2018 at 10:08:52AM +0200, Herbert Kaminski wrote:
> > Am Thu, 9 Aug 2018 14:14:15 -0400
> > schrieb lsore...@csclub.uwaterloo.ca (Lennart Sorensen):
> >   
> > > [...] 
> > > Well 99.9% of installs don't have another linux on the system,   
> >^
> > Interesting. How did you get that figure?  
> 
> Totally made it up. :)

OK, so I assume there is no feedback about who installed what and how
and when and where ;-)

Why I care at all: In the past, I used to test the Debian installer on
my main computer as it was the only one with up to date hardware, and I
had on it my working OS and a spare installation, and one or two DI
test installations. I found it quite annoying that after each test
the UUID of the swap changed, so I stopped testing DI. 

BTW the 5 people in the world having more than one installation on the
same machine presumably know well how to avoid the potential problems of
shared swap.

Regards
  Herbert

-- 



Re: Bug#905793: Why does the Installer formats given swap

2018-08-10 Thread Lennart Sorensen
On Fri, Aug 10, 2018 at 10:08:52AM +0200, Herbert Kaminski wrote:
> Am Thu, 9 Aug 2018 14:14:15 -0400
> schrieb lsore...@csclub.uwaterloo.ca (Lennart Sorensen):
> 
> > [...] 
> > Well 99.9% of installs don't have another linux on the system, 
>^
> Interesting. How did you get that figure?

Totally made it up. :)

I suspect I guessed low in fact.

-- 
Len Sorensen



Re: Bug#905793: Why does the Installer formats given swap

2018-08-10 Thread John Paul Adrian Glaubitz
On 08/10/2018 10:08 AM, Herbert Kaminski wrote:
> Am Thu, 9 Aug 2018 14:14:15 -0400
> schrieb lsore...@csclub.uwaterloo.ca (Lennart Sorensen):
> 
>> [...] 
>> Well 99.9% of installs don't have another linux on the system, 
>^
> Interesting. How did you get that figure?

It's most certainly a hyperbole, but I think it's not too far fetched
to assume that the number of users who are installing multiple Linux
distributions in parallel on the same machine is rather negligible.

So, I'm not sure whether that's a usecase worth supporting given
the fact that there are also potential issues you can run into
when sharing a swap partition among multiple Linux distributions
on the same disk.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Bug#905793: Why does the Installer formats given swap

2018-08-10 Thread Herbert Kaminski
Am Thu, 9 Aug 2018 14:14:15 -0400
schrieb lsore...@csclub.uwaterloo.ca (Lennart Sorensen):

> [...] 
> Well 99.9% of installs don't have another linux on the system, 
   ^
Interesting. How did you get that figure?

Regards,
  Herbert



Bug#905793: Why does the Installer formats given swap

2018-08-09 Thread Lennart Sorensen
On Thu, Aug 09, 2018 at 07:37:15PM +0200, John Landmesser wrote:
> Package: debian-installer
> 
> 
> is there a reason why the installer defaults to format given swap partition?
> 
> I now know that you can opt out to format swap, but i don't understand that
> formatting swap is default!
> 
> I had several Linux on same PC and after installing aditional debian, the
> other Linux didn't find their swap anymore because UUID has changed.
> 
> I fixed it but i thought: "Debian, that should be a no go, formatting given
> swap"
> 
> So i'm curious for the reason for this behaviour!

Well 99.9% of installs don't have another linux on the system, so any
swap partition would be a new one that you just created, so you want
it formatted, or it wouldn't be used.

Maybe it would be possible to make it default to not format a swap
partition if that partition already exists and isn't being created
from scratch.

The installer at least has the option to not format it for the extremely
unusual case of wanting to reuse an existing swap partition.

-- 
Len Sorensen



Bug#905793: Why does the Installer formats given swap

2018-08-09 Thread John Landmesser

Package: debian-installer


is there a reason why the installer defaults to format given swap partition?

I now know that you can opt out to format swap, but i don't understand 
that formatting swap is default!


I had several Linux on same PC and after installing aditional debian, 
the other Linux didn't find their swap anymore because UUID has changed.


I fixed it but i thought: "Debian, that should be a no go, formatting 
given swap"


So i'm curious for the reason for this behaviour!

Regards

John Landmesser