race in lock checking?
Bug #911043 reported by
Jacob Strauss
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubumirror (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ubuarchive (and the others as well) sets a trap to clean up its lockfile on exit.
It then checks for an existing sync process, and if it finds one logs an error and then calls "exit 1".
It looks to me like the exit trap will run in this case, and remove the lock file anyway.
To post a comment you must log in.
Perhaps fix with something like this, If you don't still want the savelog in that case?