A. Introduction
This document proposes the addition of a new keyword for the logadm[1]
utility, $zonename. This is a straightforward extension of the logadm
utility and can be regarded as an oversight in the original Zones[2]
design.
This case seeks patch binding.
B. Interface Table
Interface Stability Binding
--------------------------------------------------
$zonename Evolving Patch
C. Discussion
logadm includes a -t template option, which specifies the template to
use when renaming log files. The template can be a simple name, such as
/var/adm/oldfile, or it can contain special keywords which are expanded by
logadm and are in the form $word. Allowed sequences currently include:
$file, $dirname, $basename, $n, $N, $secs, $nodename, $platform,
$isa, $release, $machine, $domain
This case seeks to add $zonename to this list. $zonename is defined to
be the same as the output of the zonename(1) utility.
D. Man Page Diffs
logadm(1m):
-t template
Specify the template to use when renaming log files.
template can be a simple name, such as /var/adm/oldfile,
or it can contain special keywords which are expanded by
logadm and are in the form $word. Allowed sequences are:
...
|
| $zonename Expands to the output of zonename(1).
|
E. References
1. PSARC/2001/660 logadm
2. PSARC/2002/174 Virtualization and Namespace Isolation in Solaris