aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml23
1 files changed, 15 insertions, 8 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index eb39a12e9..eb6d8d080 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -135,8 +135,8 @@ grep Error glibc-check-log</userinput></screen>
<itemizedlist>
<listitem>
- <para>The <emphasis>nptl/tst-clock2</emphasis> and
- <emphasis>tst-attr3</emphasis> tests sometimes
+ <para>The <emphasis>nptl/tst-clock2</emphasis> and
+ <emphasis>tst-attr3</emphasis> tests sometimes
fail. The reason is not completely understood, but indications
are that a heavy system load can trigger these failures.</para>
</listitem>
@@ -254,20 +254,27 @@ rpc: files
# End /etc/nsswitch.conf</literal>
EOF</userinput></screen>
- <para>To determine the local time zone, run the following script:</para>
+ <para>One way to determine the local time zone, run the following
+ script:</para>
<screen role="nodump"><userinput>tzselect</userinput></screen>
<para>After answering a few questions about the location, the script will
- output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
- <emphasis>Canada/Eastern</emphasis>). Then create the
- <filename>/etc/localtime</filename> file by running:</para>
+ output the name of the time zone (e.g.,
+ <emphasis>America/Edmonton</emphasis>). There are also some other possible
+ timezones listed in <filename
+ class='directory'>/usr/share/zoneinfo</filename> such as
+ <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
+ are not identified by the script but can be used.</para>
+
+ <para>Then create the <filename>/etc/localtime</filename> file by
+ running:</para>
<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
/etc/localtime</userinput></screen>
- <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the time zone
- that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
+ <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
+ time zone selected (e.g., Canada/Eastern).</para>
<variablelist>
<title>The meaning of the cp option:</title>