Duplicate line: backoff=0

Bug #1400197 reported by cpburnz
14
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://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Tags: bitesize

Related branches

Revision history for this message
Stefan Goldmann (ingo-knietow) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in run-one (Ubuntu):
status: New → Confirmed
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

@Stefan you might be correct. The development of run-one seems stalled for many years, I subscribed Dustin (the maintainer) to see if we get any feedback.

Changed in run-one (Ubuntu):
importance: Undecided → Low
Changed in run-one (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Paride Legovini (paride) wrote :

Some MIR archeology shows that run-one has been included in main as a dependency of byobu. I think we should evaluate the possibility of demoting byobu and run-one to universe, see my rationale here:

https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/1965944

tags: added: bitesize
Changed in run-one (Ubuntu):
assignee: nobody → Michał Małoszewski (michal-maloszewski99)
Revision history for this message
Michał Małoszewski (michal-maloszewski99) wrote :

Work in progress. Resolving merge conflicts which has occurred in the MP.

Changed in run-one (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package run-one - 1.17-0ubuntu2

---------------
run-one (1.17-0ubuntu2) kinetic; urgency=medium

  * d/p/backoff-fix.patch: Fix verbatim copy of line
    (LP: #1400197)

 -- Michal Maloszewski <email address hidden> Fri, 29 Jul 2022 16:56:54 +0200

Changed in run-one (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.