Duplicate line: backoff=0
Bug #1400197 reported by
cpburnz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
run-one |
New
|
Undecided
|
Unassigned | ||
run-one (Ubuntu) |
Fix Released
|
Low
|
Michał Małoszewski |
Bug Description
In `/usr/bin/run-one`, line 100 is a verbatim copy of line 99:
backoff=0 # Line 99
backoff=0 # Line 100
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ apt-cache policy run-one
run-one:
Installed: 1.17-0ubuntu1
Candidate: 1.17-0ubuntu1
Version table:
*** 1.17-0ubuntu1 0
500 http://
100 /var/lib/
Related branches
~michal-maloszewski99/ubuntu/+source/run-one:fix-backoff-devel
Merged
into
ubuntu/+source/run-one:ubuntu/devel
at
revision 0977be2bb0a2fec9d7b1255755005a08f9f50aba
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 44 lines (+24/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/backoff-fix.patch (+16/-0)
debian/patches/series (+1/-0)
Changed in run-one (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: bitesize |
Changed in run-one (Ubuntu): | |
assignee: | nobody → Michał Małoszewski (michal-maloszewski99) |
Changed in run-one (Ubuntu): | |
status: | Triaged → In Progress |
To post a comment you must log in.
I'm pretty sure, the second 'backoff=0' should read 'retries=0'.
The loop there increases the backoff time in tenth of seconds for each successive failure, and after success, both 'backoff' as well as 'retries' should be reset.