'timesync_chrony_sysconfig_options' is undefined"
When running the role on Oracle Linux 8 and 9 systems we get the error 'timesync_chrony_sysconfig_options' is undefined" on the task "timesync : Generate chronyd sysconfig file". we have found that in the /vars folder none of the OracleLinux_X.yml var files have timesync_chrony_sysconfig_options defined, on the contrary RedHat_X.yml files contain this variable.
@zmaki ideally the various OracleLinux_X.yml vars files would be symlinks to the corresponding RedHat_X.yml vars files. However, there is one difference in el7:
diff OracleLinux_7.yml RedHat_7.yml
2c2
< timesync_ntp_provider_os_default: ntp
---
> timesync_ntp_provider_os_default: chrony
Do you have any idea why OracleLinux 7 uses ntp by default instead of chrony?
@zmaki ideally the various
OracleLinux_X.ymlvars files would be symlinks to the correspondingRedHat_X.ymlvars files. However, there is one difference in el7:diff OracleLinux_7.yml RedHat_7.yml 2c2 < timesync_ntp_provider_os_default: ntp --- > timesync_ntp_provider_os_default: chronyDo you have any idea why OracleLinux 7 uses
ntpby default instead ofchrony?
@bl4ckfir3 you added the Oracle 7 support in https://github.com/linux-system-roles/timesync/pull/157 - any idea why OL7 uses ntp but other el7 uses chrony?
No, i can‘t remember why. I checked the Doku for ol7 and the default is atm chrony. I think it’s the best to switch it to chrony as default. And yes OracleLinux_X.yml var Files should be symlinks to there corresponding el files
No, i can‘t remember why. I checked the Doku for ol7 and the default is atm chrony. I think it’s the best to switch it to chrony as default. And yes OracleLinux_X.yml var Files should be symlinks to there corresponding el files
Thanks! Then I'll remove the OracleLinux_X.yml var Files and instead just make them symlinks to the corresponding el files