The patch proposed is good, but is incomplete. Our default recipe, takes
between 100% and 200% of ram, with a default suggestion of 512M. However
only the min boundary is updated, but not the max one.

Imho, instead of capping min/max calculations, they should be left as
is. Instead, we should cap as to what we consider to be 100%, aka cap
the RAM calculation to 1GB, to thus have swap file between total RAM and
2GB, with no more than 2GB.

And imho it should be a question if we cap the RAM or not, with an
option to pressed unlimited. Will implement this shortly, based on the
partman-swapfile code.

And thus 20G disk / 30000M RAM -> should work and install correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1351267

Title:
  partman-auto prefers to give disk to swap, leaving root too small

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1351267/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to