Subject: misc/12956: compat_svr4(8) man page should include timezone info
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@grunta.com>
List: netbsd-bugs
Date: 05/16/2001 02:53:26
>Number:         12956
>Category:       misc
>Synopsis:       compat_svr4(8) man page should include timezone info
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 16 01:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Grant Beattie
>Release:        1.5 and -current
>Organization:
>Environment:
	
NetBSD happy 1.5 NetBSD 1.5 (GENERIC) #1: Wed Nov 29 00:29:52 MET 2000 root@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc

>Description:
Under Solaris emulation, without having the timezone files installed
in /emul/svr4 and TZ set in /emul/svr4/etc/default/init, binaries see
the current timezone as GMT.
>How-To-Repeat:
>Fix:

For Solaris emulation, add something like this to the compat_svr4(8)
man page.

                (me@netbsd) mkdir -p /emul/svr4/usr/share/lib/zoneinfo
                (me@netbsd) mkdir -p /emul/svr4/etc/default
                (me@solaris) cd /usr/share/lib/zoneinfo
                (me@solaris) tar -cf - . | \
                     rsh netbsd 'cd /emul/svr4/usr/share/lib/zoneinfo; tar -xpf -'
                (me@netbsd) echo "TZ=Australia/Victoria" > /emul/svr4/etc/default/init

>Release-Note:
>Audit-Trail:
>Unformatted: