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

430 prepare timesync.sh chronyd support #1739

Merged
merged 2 commits into from Feb 27, 2018

Conversation

N3WWN
Copy link
Contributor

@N3WWN N3WWN commented Feb 26, 2018

Pull Request Details:
  • Type: Enhancement

  • Impact: Low

  • Reference to related issue (URL):

#1622 and #1623

  • How was this pull request tested?

Created CentOS 6 (init-based) and CentOS 7 (systemd-based) VMs in Virtualbox and tested rescue ISOs for all 4 TIMESYNC options on both systems.

  • Brief description of the changes in this pull request:

Added chrony support so that newer systems that ship with chrony vs ntp, like RHEL/CentOS 7, are able to sync system time during rescue/restore.

430_prepare_timesync.sh will also not update ROOTFS_DIR/etc/inittab if the system is systemd-based.

While I was here, I updated the options for rdate to include -l (use syslog) and -p (print remote system time) so that rdate output is as close to the other 3 TIMESYNC options.

@gdha gdha self-assigned this Feb 27, 2018
@gdha gdha added this to the ReaR v2.4 milestone Feb 27, 2018
@gdha gdha added the enhancement Adaptions and new features label Feb 27, 2018
@gdha
Copy link
Member

gdha commented Feb 27, 2018

@N3WWN Nice job - thank you sir.

@gdha gdha merged commit bb1496c into rear:master Feb 27, 2018
@N3WWN N3WWN deleted the 430_prepare_timesync.sh_chronyd_support branch February 27, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features fixed / solved / done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants