Skip to content

Enable systemd-journald Service

An XCCDF Rule

Description

The systemd-journald service is an essential component of systemd. The systemd-journald service can be enabled with the following manifest:

---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: master
  name: 75-master-systemd-journald-enable
spec:
  config:
    ignition:
      version: 3.1.0
    systemd:
      units:
      - name: systemd-journald.service
        enabled: true

This will enable the systemd-journald service in all the nodes labeled with the "master" role.

Note that this needs to be done for each MachineConfigPool

For more information on how to configure nodes with the Machine Config Operator see the relevant documentation.

Rationale

In the event of a system failure, Red Hat Enterprise Linux CoreOS 4 must preserve any information necessary to determine cause of failure and any information necessary to return to operations with least disruption to system processes.

ID
xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled
Severity
Medium
References
Updated