On Fri, 26 Sep 2003 14:11:44 -0500
"Brett Franck" <[EMAIL PROTECTED]> wrote:

> How do you teach a chroot jail the correct time?
> 
> Brett


Hey Brett,

I know your question is in regard to the syslogd chroot environment we
talked about this morning.   Attached is an updated build script that adds
support for your timezone and should be slightly more portable
than the first version.

It addresses the time problem by setting the TZ variable and copying
the proper zoneinfo data into the chroot jail.   It will default to the
Eastern timezone unless you override it with a 3rd command line 
parameter, for example:

./build syslog3 5555  US/Central

Good luck,
Sean


Attachment: build
Description: Binary data

Reply via email to