Project

General

Profile

Bug #595

Create missing systemd configuration for SYSV compatibility services

Added by Marc Dequènes about 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
High
Category:
System :: Base
Start date:
2017-09-23
Due date:
% Done:

100%

Estimated time:
Patch Available:
Confirmed:
No
Branch:
Entity:
DuckCorp
Security:
Help Needed:

Description

Quite often a service is considered OK because the init script did not return an error, but the SYSV compatibility layer in systemd has no way to know if this is a one-shot run or if a daemon is to be run, and maybe forked.

We should evaluate all the compat services listed with this command:

ansible all -m shell -a "systemctl | grep -E 'active +(exited|running) +(LSB|SYSV):' | awk '{ print \$1 }'" 

We should list the one-shot services somewhere, to be able to filter-out in a later (regular?) check.

We should borrow missing systemd config from Debian unstable if existing and applicable or create our own and contribute it.


Related issues

Related to DuckCorp Infrastructure - Bug #605: No mail since 2017-10-15 07:00:02Rejected2017-10-16

Actions
Related to DuckCorp Infrastructure - Bug #606: Bip service unavailable since Oct 15 (Thorfinn)Resolved2017-10-23

Actions
Blocks DuckCorp Infrastructure - Enhancement #648: Debian Buster MigrationResolved2019-04-21

Actions

Associated revisions

Revision d86410ec (diff)
Added by Marc Dequènes 7 months ago

gossip.duckcorp.org: switch to systemd service

refs #595

Revision eb9fd60f (diff)
Added by Marc Dequènes 7 months ago

Add partial Cyborghood deployment rules
refs #626

Also switch to systemd (refs #595).

Revision fedd8873 (diff)
Added by Marc Dequènes 7 months ago

dc-base/firewalling: switch to systemd

refs #595

Revision f810eceb (diff)
Added by Marc Dequènes 7 months ago

dc-base/multihoming: switch to systemd

refs #595

History

#1

Updated by Marc Dequènes about 2 years ago

  • Related to Bug #605: No mail since 2017-10-15 07:00:02 added
#2

Updated by Pierre-Louis Bonicoli about 2 years ago

  • Related to Bug #606: Bip service unavailable since Oct 15 (Thorfinn) added
#3

Updated by Marc Dequènes over 1 year ago

Added `playbooks/restart_lsb_services.yml` as a workaround to restart these services.

#4

Updated by Marc Dequènes over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to DC Admins

I recently created one for spoolinger. It will be in the package when this is ready.

#5

Updated by Marc Dequènes over 1 year ago

policyd-weight is no more so no need to continue working on this.

#6

Updated by Marc Dequènes 7 months ago

  • Parent task set to #648
#7

Updated by Marc Dequènes 7 months ago

  • Description updated (diff)
#8

Updated by Marc Dequènes 7 months ago

The services we manage which are lacking a systemd config:
  • firewalling.service
  • multihoming.service
  • tt-rss.service
  • cyborghood_postman.service

As for the rest, Buster is coming soon, so I think we can reevaluate after migration.

#9

Updated by Marc Dequènes 7 months ago

  • % Done changed from 0 to 20
#10

Updated by Marc Dequènes 7 months ago

  • % Done changed from 20 to 40
#11

Updated by Marc Dequènes 7 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from DC Admins to Marc Dequènes
  • % Done changed from 40 to 100
#12

Updated by Marc Dequènes 4 months ago

  • Parent task deleted (#648)
#13

Updated by Marc Dequènes 4 months ago

Also available in: Atom PDF