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

rhel-system-roles.timesync doesn't work when IPv6 is disabled in environment

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • rhel-system-roles
    • 0
    • QE ack, Dev ack
    • False
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Enhancement
    • Hide
      .Enables IPv4-only operation for the `chronyd` service when using the `rhel-system-roles.timesync` role

      With this update, users can customize the `chronyd` configuration when IPv6 is disabled on a node. The enhancement provides two options: add a setting to the `timesync` role to disable IPv6, or pass a parameter to set the OPTIONS value for `chronyd`. These options enable IPv4-only operation for the `chronyd` service when using the `rhel-system-roles.timesync` role. This improves time synchronization accuracy and stability for environments where IPv6 is disabled.
      Show
      .Enables IPv4-only operation for the `chronyd` service when using the `rhel-system-roles.timesync` role With this update, users can customize the `chronyd` configuration when IPv6 is disabled on a node. The enhancement provides two options: add a setting to the `timesync` role to disable IPv6, or pass a parameter to set the OPTIONS value for `chronyd`. These options enable IPv4-only operation for the `chronyd` service when using the `rhel-system-roles.timesync` role. This improves time synchronization accuracy and stability for environments where IPv6 is disabled.
    • Done
    • None

      When the IPv6 is disabled on the node, we generally add the below in /etc/sysconfig/chronyd for the chronyd to work with IPv4.

      OPTIONS="-4"

      While we are using the rhel-system-roles.timesync role for the timesync purpose on the managed node, we do not have an option to mention OPTION="-4" 

      Unfortunately, the template used for this (templates/chronyd.sysconfig.j2) hardcodes the "OPTIONS" parameter to remain empty.

      We will need either one of the option to be added:
      1. Add a setting to the timesync role to disable IPv6.
      2. Add a parameter so I can set the "OPTIONS" parameter myself via a default value.
       

       

              rhn-support-mlichvar Miroslav Lichvar
              rhn-support-mramesh Manasa Ramesh
              Sagar Dubewar
              Richard Megginson Richard Megginson
              David Jez David Jez
              Krishnaswamy Krishna Kumar Krishnaswamy Krishna Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: