Feature #5821

Switch to systemd as pid 1

Added by Tails about 3 years ago. Updated about 1 year ago.

Status:ResolvedStart date:05/09/2014
Priority:NormalDue date:06/01/2015
Assignee:-% Done:

100%

Category:-
Target version:Tails_2.0
QA Check: Blueprint:
Feature Branch:feature/jessie Easy:No
Type of work:Code 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 Confirmed
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 In Progress 11/27/2014

History

#1 Updated by intrigeri almost 3 years ago

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

#2 Updated by intrigeri almost 3 years ago

  • Subject changed from Modern init system to systemd

#3 Updated by sajolida over 2 years ago

  • Subject changed from systemd to Switch to systemd

#4 Updated by intrigeri over 2 years ago

  • Description updated (diff)

#5 Updated by intrigeri about 2 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 2 years ago

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

#7 Updated by intrigeri about 2 years ago

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

#8 Updated by intrigeri almost 2 years ago

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

#9 Updated by intrigeri over 1 year 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 over 1 year ago

#11 Updated by BitingBird over 1 year ago

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

#12 Updated by intrigeri about 1 year 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