Skip to content

Commit

Permalink
skip for now reading of running in chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 1, 2017
1 parent 74fe274 commit 79fea05
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/modules/NtpClient.rb
Expand Up @@ -1037,13 +1037,18 @@ def read_ad_address!
#
# @return [Boolean] true when value is "yes"; false in any other case.
def read_chroot_config!
run_chroot_s = SCR.Read(path(".sysconfig.ntp.NTPD_RUN_CHROOTED"))
# FIXME: do we need it with chrony?
@run_chroot = false

true

#run_chroot_s = SCR.Read(path(".sysconfig.ntp.NTPD_RUN_CHROOTED"))

@run_chroot = run_chroot_s == "yes"
#@run_chroot = run_chroot_s == "yes"

log.error("Failed reading .sysconfig.ntp.NTPD_RUN_CHROOTED") if run_chroot_s.nil?
#log.error("Failed reading .sysconfig.ntp.NTPD_RUN_CHROOTED") if run_chroot_s.nil?

run_chroot_s.nil? ? false : true
#run_chroot_s.nil? ? false : true
end

# Set @ntp_servers with known servers and known countries pool ntp servers
Expand Down

0 comments on commit 79fea05

Please sign in to comment.