From owner-freebsd-questions@FreeBSD.ORG Wed Jul 14 02:04:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE321065670 for ; Wed, 14 Jul 2010 02:04:03 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 880778FC1A for ; Wed, 14 Jul 2010 02:04:03 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o6E241av030248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 13 Jul 2010 21:04:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o6E241M1025838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 13 Jul 2010 21:04:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o6E240Mw025837; Tue, 13 Jul 2010 21:04:00 -0500 (CDT) (envelope-from dan) Date: Tue, 13 Jul 2010 21:04:00 -0500 From: Dan Nelson To: Derek Funk Message-ID: <20100714020359.GA5485@dan.emsphone.com> References: <4C3D114F.6020903@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C3D114F.6020903@cox.net> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 13 Jul 2010 21:04:01 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: FreeBSD List Subject: Re: jail date and time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 02:04:03 -0000 In the last episode (Jul 13), Derek Funk said: > how do i change the date and time within a jail? Host date and time are > correct why isn't the jails? > > date yymmddhhmm returns > > date: settimeofday (timeval): Operation not permitted Jails share the same clock as the host. Are you sure you don't just need to set the timezone in your jail (run tzsetup, or copy the hosts's /etc/localtime into the jail)? -- Dan Nelson dnelson@allantgroup.com