Feature #6146

Factor out waiting for a condition

Added by Tails 2013-07-18 11:47:28 . Updated 2018-08-19 09:08:31 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Various wait_until_some_condition_is_met constructs used here and there should be factored out in the Tails shell library.

Perhaps just moving to systemd (Feature #5821) will solve most of these cases.


Subtasks


Related issues

Related to Tails - Feature #5821: Switch to systemd as pid 1 Resolved 2014-05-09 2015-06-01
Related to Tails - Feature #7545: Convert manually ordered system initialization bits to native systemd unit files Confirmed 2014-11-27

History

#1 Updated by Tails 2013-07-18 11:48:16

#2 Updated by intrigeri 2013-10-03 11:17:01

  • Starter set to No

#3 Updated by BitingBird 2014-06-09 11:31:15

  • Subject changed from factor out waiting for a condition to Factor out waiting for a condition

#4 Updated by Anonymous 2018-08-19 09:00:33

We should reevaluate the status of this ticket, now that we have Feature #5821.

#5 Updated by intrigeri 2018-08-19 09:08:31

  • Status changed from Confirmed to Resolved

We now have wait_until and try_for in our shell library. The places where they’re used are not good candidates for systemd-ification. Then I’ve reviewed all the places where we use while in shell scripts and the only candidate is already tracked on Feature #7545 => closing :)

#6 Updated by intrigeri 2018-08-19 09:08:45

  • related to Feature #7545: Convert manually ordered system initialization bits to native systemd unit files added