Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 16:15:25 +0200
From:      Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs>
To:        freebsd-stable@freebsd.org
Subject:   bind host service to jail ip?
Message-ID:  <20151007161525.1beca1eb@efreet.kappastar.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am moving some hosts from physical to jail environment. I have
dozens of hosts on local lan syncing time with two ntp servers which
also happen to be dns servers. Changing IPs of those hosts would be
major PITA.

If I run openntpd in jail, I get messages such as:

Oct  7 16:05:37 ns1 ntpd[43188]: adjtime failed: Operation not permitted
Oct  7 16:05:37 ns1 ntpd[43188]: ntp_adjtime (3) failed: Operation not perm=
itted

I know jails sync time with host, and are not allowed to adjust time.
However, I'd like to serve ntp clients from these addresses. So my 2
questions are:

- Does openntpd serve (correct) local time from jail even though it
  can't adjust local time?

- If I ran openntpd in host and bound it to jails' ip addresses, would
  clients be able to sync? If so, are there any negative implications
  to this?

Thank you in advance,
--=20
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupa=C4=87
https://www.mimar.rs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151007161525.1beca1eb>