Security uploads fails when assume that an accepted ".orig" file will be available before the next cron.daily run
Bug #77853 reported by
Celso Providelo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Celso Providelo |
Bug Description
This incident happened today when a new version of firefox was uploaded for dapper-security & breezy-security in the same batch. The second source upload presumed (*correctly*) that the orig was already present in the archive, since it was uploaded by the first one, and doesn't included it.
However, Soyuz isn't able to lookup an file that isn't *published* yet, so the second source upload was rejected because the implicit orig was not found.
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After some investigation, I see that the issue could be solved by *processing* the accepted sources, creating a PENDING publish record just after we accept the it. So the *process-accepted* task will remain only for binaries and custom uploads.
This change will only affect file lookup, there is no side-effect for high-level sources lookup (like UI, building, etc), since it's still requiring a record in PUBLISHED state.