jail date and time

Dan Nelson dnelson at allantgroup.com
Wed Jul 14 02:04:03 UTC 2010


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 at allantgroup.com


More information about the freebsd-questions mailing list