Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-95846

feat: Add support for SystemKeepFree journald.conf option

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rhel-system-roles
    • 0
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Enhancement
    • Hide
      .The `journald` RHEL system role can monitor disk space

      With this update, you can configure the `SystemKeepFree` option in the `journald.conf` journal service to set a maximum size for the system journal. This improves overall system stability and performance. As a result, you can use the `journald_system_keep_free` variable to configure size limit. The value is specified in megabytes. There is no default value - by default, it will use the `journald` default value.
      Show
      .The `journald` RHEL system role can monitor disk space With this update, you can configure the `SystemKeepFree` option in the `journald.conf` journal service to set a maximum size for the system journal. This improves overall system stability and performance. As a result, you can use the `journald_system_keep_free` variable to configure size limit. The value is specified in megabytes. There is no default value - by default, it will use the `journald` default value.
    • Done
    • Done
    • Done
    • Not Required
    • None

      Enhancement:
      This change adds support for the SystemKeepFree option.

      Reason:
      It's a configurable option in `journald.conf` that isn't currently available, but is useful to be able to set.

      Result:
      Set the `SystemKeepFree=` option as per:
      https://www.freedesktop.org/software/systemd/man/latest/journald.conf.html

      Issue Tracker Tickets (Jira or BZ if any):
      nil

        1. Summary by Sourcery

      Add support for the SystemKeepFree setting in journald.conf via a new `journald_system_keep_free` variable.

      New Features:

      • Introduce `journald_system_keep_free` to configure the SystemKeepFree option in journald.conf.

      Enhancements:

      • Update the configuration template to include SystemKeepFree when the variable is set.
      • Provide a default 10GB value for `journald_system_keep_free` in defaults.

      Documentation:

      • Document the new `journald_system_keep_free` option in the README with an example.

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Valentina Ashirova Valentina Ashirova
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: