Public bug reported:
Binary package hint: ubiquity
ubiquity/partman/check.d/03partition_too_small runs 'du -s' on each part
of /rofs to be copied to each mountpoint, and adds these up to work out
how much space needs to be left for /. However, this can produce a
miscalculation. If /usr and /usr/share (say) are mounted separately,
then the sum of $(du -s /rofs/usr) and $(du -s /rofs/usr/share) will be
subtracted from the total size of /rofs, and the final figure will be
much too small.
I suggest only adding the size of each tree to $rofssum if no parent of
the mountpoint in question has yet been seen. This will probably require
sorting the mountpoints before processing them, which might well be
fiddly, unfortunately.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
--
partition_too_small can miscalculate with nested mountpoints
https://bugs.launchpad.net/bugs/198039
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs