Note that in a chroot environment, a symlink will not help either. The best
way is to reproduce the same directory structure as the root (not copying
everything, of course). So in BSD/OS example, you copy /etc/localtime to
/usr/http/etc/ or whatever your httpd root may be.
Rudy Amid (rudy @
com) [Home URL]
Systems Administrator #include
Hummingbird Communications, Ltd. "We're IT!" -MIS
1 Sparks Ave. Toronto, Canada. M2H 2W1. 416-496-2200 [URL]
> From: Rick Murphy <rick @
> To: Katson PN Yeung <katson @
> Cc: Firewalls @
> Subject: Re: Incorrect HTTP-GW log time.
> Date: Tuesday, June 11, 1996 9:28 AM
> This question should really be taken to the "fwtk-users @
> This is a normal problem in a chroot environment - there's a link missing
> in the chroot environment that specifies what time zone you're in. Missing
> that means you're defaulting to GMT.
> On BSD systems, there's a file called /etc/localtime that's a symlink to
> the correct time zone file; putting that in the chroot area will fix it.
> The fix will vary depending on your OS.