Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2010 21:04:00 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Derek Funk <dfunk6@cox.net>
Cc:        FreeBSD List <freebsd-questions@freebsd.org>
Subject:   Re: jail date and time
Message-ID:  <20100714020359.GA5485@dan.emsphone.com>
In-Reply-To: <4C3D114F.6020903@cox.net>
References:  <4C3D114F.6020903@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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