Project

General

Profile

Feature #5821

Switch to systemd as pid 1

Added by Tails about 6 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/09/2014
Due date:
06/01/2015
% Done:

100%

Feature Branch:
feature/jessie
Type of work:
Code
Blueprint:
Starter:
No
Affected tool:

Description

We've been wanting to supervise critical services (#5750) for years, and e.g. systemd knows how to do that.

systemd is quite well integrated in Debian Wheezy, and has about a thousand reported users in Debian as of February 2012, while Wheezy is not out yet.

Moreover, Debian Jessie's default init will be systemd.

So, we want to switch to systemd once Tails is based on Wheezy (#6015).

Once this is done, we can go further and leverage systemd: #7545, #5750.


Subtasks

Bug #7183: Fix memory erasure when booted with systemdResolvedintrigeri


Related issues

Related to Tails - Feature #6146: Factor out waiting for a condition Resolved
Related to Tails - Bug #8259: memlockd-related kludges need to be adapted to systemd Resolved 11/13/2014
Related to Tails - Feature #6171: Tails based on Jessie Resolved 07/19/2013
Related to Tails - Feature #7100: Decide what to do with machine-id Confirmed 04/16/2014
Blocked by Tails - Feature #6015: Tails based on Wheezy Resolved 07/28/2013
Blocks Tails - Feature #5750: Supervise critical services Resolved
Blocks Tails - Feature #7545: Convert manually ordered system initialization bits to native systemd unit files Confirmed 11/27/2014

History

#1 Updated by intrigeri almost 6 years ago

  • Subject changed from event-based init to Modern init system
  • Starter set to No

#2 Updated by intrigeri almost 6 years ago

  • Subject changed from Modern init system to systemd

#3 Updated by sajolida over 5 years ago

  • Subject changed from systemd to Switch to systemd

#4 Updated by intrigeri over 5 years ago

  • Description updated (diff)

#5 Updated by intrigeri about 5 years ago

The goal for 2.0 is to switch to systemd as an init system, not necessarily to convert all our custom stuff to native systemd unit files right away.

#6 Updated by intrigeri about 5 years ago

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

#7 Updated by intrigeri about 5 years ago

  • Subject changed from Switch to systemd to Switch to systemd as pid 1
  • Description updated (diff)

#8 Updated by intrigeri almost 5 years ago

  • Related to Bug #8259: memlockd-related kludges need to be adapted to systemd added

#9 Updated by intrigeri almost 5 years ago

I don't think we're going to do that for Tails/Wheezy, and I've started working on this in feature/jessie (which already is running systemd as pid 1 anyway).

If someone wants to do that for Tails/Wheezy, some commits from live-config 4.x must probably be backported to 3.x:

  • see Debian bug 726536
  • last time I checked (many months ago), the potentially interesting commits were:
    • 51b0611: OK
    • 35ae448: ??? (dh-systemd)
    • 5396b72: useless, duplicated commit
    • 876e45a: useless (pkg description change)
    • 7a485c1: useless, duplicated commit
    • a1257eb: useless, duplicated commit
    • a5ae8d2: useless, duplicated commit
    • 020324a: useless, duplicated commit

#10 Updated by intrigeri almost 5 years ago

#11 Updated by BitingBird over 4 years ago

  • Related to Feature #7100: Decide what to do with machine-id added

#12 Updated by intrigeri about 4 years ago

  • Status changed from Confirmed to Resolved
  • Target version changed from Sustainability_M1 to Tails_2.0
  • Feature Branch set to feature/jessie

Also available in: Atom PDF