Misleading error-message if not enough diskspace for the choosen expert-recipe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Ubuntu) |
Fix Released
|
Low
|
Colin Watson |
Bug Description
Binary package hint: partman-auto
There is a misleading error-message in partman-auto. When you choose an expert-recipe and the available diskspace is smaller than what you have configured in the recipe you get such an error-message:
"Expert recipe too large (24012 > 21000); skipping"
Well the first thing I thought after reading this message was that my recipe is too large. The recipe can be provided in one logical line and I thought that line and thus my recipe would be too large... Just because I couldn't fix this error from happening after shortening my recipe and taking a look at the sourcecode I realized what this message is really trying to tell me.
What this error-message really wants to tell someone is that your available diskspace is too small to satisfy the choosen recipe.
I think such a message would be better:
Available diskspace (21000) is too small for the planned partitioning (24012); skipping"
Patch is attached.
Update:
Oh because I forgot to mention. This was noticed on ubuntu jaunty 9.04.
Thanks; I've committed a similar change upstream for partman-auto 90.