From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 8 10:33:05 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 520A31065676 for ; Sun, 8 Jun 2008 10:33:05 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id BF63D8FC14 for ; Sun, 8 Jun 2008 10:33:04 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ug-out-1314.google.com with SMTP id q2so1014407uge.37 for ; Sun, 08 Jun 2008 03:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition; bh=vLvb912IwpBZCUFK77ICC76pB+hIEYeBmxxLrwza9kM=; b=cvHU9F5c1bpMei8DCtaLaRbYggG12vNX/BZ/FLGuBbXilxcs+hTsEZH6scCmb/o2Tl 8wmeXX8yb5sm0oKZ89fH4tDYTpLSr7j6lVeyvOjHcPawZ2NYUzSe1eNO1/19+EfffpiV 8LJ/nYly8bdJ69C4UTgABoC6TKZyDuigJtQiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=fpsOWOgAHRtO7cPbaxIPpyZb+MYhYgCBOvmwRQGC+zc2MY2nEBtzpejjw8So4k56S5 yhmOlu9j9BdV64fJwHwrUbGD+KLTha9UXV5Rci3aAarbRubNJcla/3E7wLNQwiWf07aO gik3PaScmmjUmmTwbJqOxMbgK7SVyzSfjwy3o= Received: by 10.210.62.12 with SMTP id k12mr1828912eba.174.1212921183572; Sun, 08 Jun 2008 03:33:03 -0700 (PDT) Received: from logik.internal.network ( [81.86.41.187]) by mx.google.com with ESMTPS id u14sm12478845gvf.6.2008.06.08.03.33.01 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jun 2008 03:33:02 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id A93955CBE; Sun, 8 Jun 2008 10:32:54 +0000 (UTC) Date: Sun, 8 Jun 2008 11:32:54 +0100 From: xorquewasp@googlemail.com To: freebsd-hackers@freebsd.org Message-ID: <20080608103254.GA99569@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: ntpd jail problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 10:33:05 -0000 Anybody know why ntpd might not work in a jail? I'm running an openntpd instance on the host machine, which syncs the clock from the pool at pool.ntp.org. From the log output, ntpd claims to be synced and the time does seem to be correct. I'm then running another openntpd in a jail which doesn't set the time, just serves it to clients. Something appears to be wrong, however. Any client that tries to get the time from the jailed openntpd simply says: $ sudo /usr/local/sbin/ntpd -ds listening on 127.0.0.1 ntp engine ready reply from 192.168.3.21: not synced, next query 615s The ntpd *never* appears to sync. Am I doing something fundamentally wrong, here? Is there some problem with jailed openntpd (that doesn't attempt to set the time) that I'm not aware of? Any help would be appreciated.