Feature #7545

Convert manually ordered system initialization bits to native systemd unit files

Added by intrigeri 2014-07-10 15:25:26 . Updated 2019-03-08 15:57:30 .

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2014-11-27
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

There are about 20 interesting calls to sleep in the custom scripts shipped in Tails 0.17. Almost none would be necessary if we were using an event-based init daemon.

Most of our networking setup (HTP, security check, Tor and Vidalia restarts) would probably be much simpler and robust if we were using a modern init system.


Subtasks

Feature #8327: Convert tails-unblock-network into a systemd unit file Resolved

100


Related issues

Related to Tails - Feature #6146: Factor out waiting for a condition Resolved
Blocked by Tails - Feature #5821: Switch to systemd as pid 1 Resolved 2014-05-09 2015-06-01
Blocks Tails - Bug #10589: NetworkManager hooks are unreliable vs network interruptions Confirmed 2015-11-19

History

#1 Updated by intrigeri 2014-07-10 15:25:45

#2 Updated by BitingBird 2014-07-11 12:49:32

  • related to Feature #7560: Have Tails based on Jessie starting added

#3 Updated by intrigeri 2014-07-11 14:26:32

  • related to deleted (Feature #7560: Have Tails based on Jessie starting)

#4 Updated by intrigeri 2014-11-20 20:57:56

  • Status changed from Confirmed to In Progress
  • Feature Branch set to feature/jessie

I’ve started with the easiest bits, that is converting our custom initscripts to native systemd unit files.

#5 Updated by intrigeri 2014-11-20 22:50:20

  • Description updated

#6 Updated by sajolida 2015-09-22 07:54:03

  • Target version deleted (Hardening_M1)

#7 Updated by anonym 2015-11-19 14:17:20

  • blocks Bug #10589: NetworkManager hooks are unreliable vs network interruptions added

#8 Updated by Anonymous 2018-08-18 13:35:19

@intrigeri: is this still relevant?

#9 Updated by intrigeri 2018-08-18 14:30:28

Yes, would be nice to have. Low prio though.

#10 Updated by intrigeri 2018-08-18 20:37:51

  • Feature Branch deleted (feature/jessie)

One low-hanging fruits: the while loop in config/chroot_local-includes/usr/lib/systemd/user/tails-wait-until-tor-has-bootstrapped.service could be replaced with a systemd.path(5) unit + service.

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

  • related to Feature #6146: Factor out waiting for a condition added

#12 Updated by intrigeri 2019-03-08 15:57:30

  • Status changed from In Progress to Confirmed