Summary: | release: scripts/mk-vmimage.sh does not fail on error | ||
---|---|---|---|
Product: | Base System | Reporter: | Johannes Jost Meixner <xmj> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | emaste |
Priority: | --- | ||
Version: | 10.3-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Johannes Jost Meixner
2017-07-28 03:57:55 UTC
I think the solution is: "don't do that." The script really ought to be checking for errors. We shouldn't have silent failure / broken output from a misconfigured parameter. The parameter is not misconfigured in this case. The value is too small, and the error case (filesystem full) won't be known until it is triggered. (In reply to Glen Barber from comment #3) I agree in that it's a user error (in this case, things worked with 2016Q2 packages but not 2017Q2 packages due to growing size). However, even then, issues could occur (filesystem full, something else in the script breaks, ...) and mk-vmimage.sh would *still* continue trying to upload the broken VM image to EC2. And it really shouldn't do that. (In reply to Johannes Jost Meixner from comment #4) (To clarify, by "filesystem" I mean in this case the physical disk $OBJDIR is on.) |