The root file system for an omicron1-brand zone begins with the contents of the baseline archive. This archive is constructed either at startup on a developer workstation, or at ramdisk image build time for production machines. In both cases, we ship stock files from the original OS packages, including for the /etc/default/init. This file defines the system timezone, which is set by default to Pacific time for historical reasons:
$ cd /tmp
$ tar xvfz /usr/lib/brand/omicron1/baseline/files.tar.gz root/etc/default/init
Decompressing '/usr/lib/brand/omicron1/baseline/files.tar.gz' with '/usr/bin/gzcat'...
x root/etc/default/init, 1235 bytes, 3 tape blocks
$ cat root/etc/default/init
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# This file is /etc/default/init.
# This file looks like a shell script, but it is not.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables. value may
# be enclosed in double quotes (") or single quotes (').
STATE CHANGE: running -> completed
#
TZ=PST8PDT
CMASK=022
As part of baseline construction, we should replace the contents of this file with one that specifies TZ=UTC so that all zones operate with our expected timezone.
The root file system for an omicron1-brand zone begins with the contents of the baseline archive. This archive is constructed either at startup on a developer workstation, or at ramdisk image build time for production machines. In both cases, we ship stock files from the original OS packages, including for the
/etc/default/init
. This file defines the system timezone, which is set by default to Pacific time for historical reasons:As part of baseline construction, we should replace the contents of this file with one that specifies
TZ=UTC
so that all zones operate with our expected timezone.