Charles Short cc310a0d19 debian: Enable minimum required platform services
Systemd provides preset files which may be used to encode policy which
units shall be enabled by default and which ones shall be disabled.

Add:
- 99-default-disable.preset to disable all services by default
- 90-default.preset which aims to align with services enabled in CentOS
  This file was delivered via the systemd package under CentOS. Adjusted
  for Debian compatibility.
- 85-debpkg-issues.preset to align service enablement for StarlingX
  services where the current packaging is not enabling services
  correctly. This file is temporary until packaging issues are resolved.

This commit aims to add CentOS/Debian service enablement/disablement
compatibility post-installation.

Test Plan
PASS Build and Test ISO
PASS Test that services are disabled by default
PASS Test that AIO-SX StarlingX service are started if available

Change-Id: Icc952aa40b4844f9e793cbff92612dc77883fed1
Story: 2009101
Task: 44380
Co-Authored-By: Robert Church <robert.church@windriver.com>
Signed-off-by: Charles Short <charles.short@windriver.com>
Signed-off-by: Robert Church <robert.church@windriver.com>
2022-02-28 03:10:51 -05:00

27 lines
473 B
Plaintext

# System stuff
enable ssh.service
enable atd.*
enable crond.*
enable rpcbind.*
enable avahi-daemon.*
enable apparmor.*
enable set-grub-install-device.*
# The various syslog implementaitons
enable syslog-ng.*
# Network facing
enable libvirtd.service
# Storage
enable multipathd.service
enable libstoragemgmt.service
enable lvm2-lvmpolld.socket
enable lvm2-monitor.*
enable lvm2-lvmetad.*
enable dm-event.*
enable dmraid-activation.service
# Others
enable virlogd.socket