Bug #8259

memlockd-related kludges need to be adapted to systemd

Added by intrigeri 2014-11-13 21:14:26 . Updated 2014-11-13 22:17:59 .

Status:
Resolved
Priority:
Normal
Assignee:
intrigeri
Category:
Target version:
Start date:
2014-11-13
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

memlockd isn’t running in Tails/Jessie. Likely our many sysvinit-specific kludges for memlockd need to be adapted. In Jessie, memlockd ships with a native systemd unit file.

Also:

  • we may want to use OOMScoreAdjust
  • we should find how to replace our usage of sendsigs.omit.d with systemd

Subtasks


Related issues

Related to Tails - Feature #5821: Switch to systemd as pid 1 Resolved 2014-05-09 2015-06-01

History

#1 Updated by intrigeri 2014-11-13 21:14:53

#2 Updated by intrigeri 2014-11-13 21:29:17

Seems like the memlockd package installs a unit file, but doesn’t enable it: https://bugs.debian.org/714957.

#3 Updated by intrigeri 2014-11-13 21:44:46

  • Description updated

#4 Updated by intrigeri 2014-11-13 22:17:59

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100
  • memlockd startup: fixed in commit 1ebed7d
  • OOMScoreAdjust (bonus we didn’t have with sysvinit): done in commit 4e303801

=> what’s left (aside from rewriting this pile of initscripts as native systemd unit files) is now tracked as Feature #8260, so closing as resolved.