Bug 39991 - checks for free space seem to be too small
checks for free space seem to be too small
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Felix Botner
Sönke Schwardt-Krummrich
Depends on:
  Show dependency treegraph
Reported: 2015-11-17 10:34 CET by Sönke Schwardt-Krummrich
Modified: 2015-12-02 15:03 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-11-17 10:34:45 CET
An update of an EC2 instance with default software downloaded 118MB archives and wanted to use ~225 MB extra space on that system after upgrade. So around 350 MB are required for an update. 
Since the EC2 instance uses only one large filesystem for everything and the preup.sh checks for 500MB free space on /, the update seem to barely fit (only 150MB spare space).
If extra software (worst case: *-dbg or *-dev package) is installed, that check will falsely pass and the update might crash in a disk full scenario.
Comment 1 Stefan Gohmann univentionstaff 2015-11-17 10:39:21 CET
We will adjust the preup.sh directly with the announce.
Comment 2 Felix Botner univentionstaff 2015-11-17 11:24:22 CET
modified/singed 4.1 preup (500MB archiv, 1500 MB /)

not yet copied to svn
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2015-11-17 13:40:37 CET
Test instance (with OX) with one large rootfs and no subpartitions used up to 
491 MB disk space during the update. So I think 1,5GB is ok.
Comment 4 Felix Botner univentionstaff 2015-11-19 13:03:02 CET
updated univention-updater in errata4.1-0

yaml: 2015-11-19-univention-updater.yaml
Comment 5 Janek Walkenhorst univentionstaff 2015-12-01 17:35:09 CET
(In reply to Felix Botner from comment #4)
> yaml: 2015-11-19-univention-updater.yaml
Advisory is now: univention-updater.yaml
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2015-12-02 14:00:23 CET
Another test case used also ~500 MB max during update. 
→ OK: Code change
Comment 7 Janek Walkenhorst univentionstaff 2015-12-02 15:03:46 CET