Runlist file not checked before downloading ISO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Low
|
Javier Collado |
Bug Description
Trying to reproduce bug1012860 using the following command:
sudo -i -u utah /usr/share/
I got the following traceback:
File "/usr/lib/
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: '/usr/share/
Looks like that master.run is no longer located under /usr/share/
In the case of URLs, that might not be so important, but anyway at least an attempt to make sure that URL is valid would be nice as well.
Related branches
- Max Brustkern (community): Approve
-
Diff: 77 lines (+55/-0)2 files modifiedexamples/run_utah_tests.py (+7/-0)
utah/url.py (+48/-0)
Changed in utah: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Javier Collado (javier.collado) |
Changed in utah: | |
status: | In Progress → Fix Committed |
Changed in utah: | |
status: | Fix Committed → Fix Released |
I think validation of the runlist files is definitely worth implementing. As far as the files that are potentially downloaded by the install process, I just committed a revision to reorder those by expected size. Now, we go preseed, xml, kernel, initrd, image, which gives the smallest downloads the first opportunity to fail. If we want to validate all URL's before actually downloading, that could be done as well, but this should speed up failures until then.