Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chronyd rules for bootable containers #12582

Merged
merged 1 commit into from
Nov 7, 2024

Commits on Nov 7, 2024

  1. Update chronyd rules for bootable containers

    The rules used `service_chronyd_enabled` or `service_ntpd_enabled`
    in their OVALs to not only check the services configuration but to
    also check if the services are enabled.
    
    This approach is unnecessary and it won't work in the bootable
    container build environment where systemd services don't run.
    
    Therefore, we update OVALs of these rules and remove the mentioned
    service enabled checks and we rather use CPE platforms to make the
    rules applicable only in cases when `chrony` or `ntp` packages are
    installed. This shouldn't be a big change as if `chrony` or `ntp`
    packages are installed their service config files should exist and
    in case `chronyd` or `ntpd` services are enabled later they will
    already run with the expected configuration.
    matusmarhefka committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    40262a8 View commit details
    Browse the repository at this point in the history