Q. ntp pseudo service in a jail
kudzu at tenebras.com
Thu Jul 30 20:54:34 UTC 2020
On Thu, Jul 30, 2020 at 1:45 PM Jon Radel <jon at radel.com> wrote:
> On 7/30/20 16:03, James B. Byrne via freebsd-questions wrote:
> > I need a jail to provide responses to ntp queries. I do not need (or
> want) the
> > jail to adjust the system time. I just need it to provide whatever time
> > host OS has whenever it is queried. Can this requirement be met?
> You can probably do what you want with the reference ntpd code if you
> set it up to have only a LOCAL driver. This takes the system clock as
> the source of truth.
fudge 127.127.1.0 stratum 5
> Make sure to set a really high stratum with fudge so that people don't
> have to hate on you if you leak the quite possibly crap time further
> than you expect.
LOCAL is going to get time from the host, right? Clocks are shared.
"Well," Brahmā said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."
- The Mahābhārata
More information about the freebsd-questions