OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » zones » discuss

Thread: New Interface: logadm(1m) $zonename keyword

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0
dp

Posts: 807
From: US

Registered: 3/9/05
New Interface: logadm(1m) $zonename keyword
Posted: Mar 6, 2006 1:55 PM

  Click to reply to this thread Reply


Hi folks. This mail is to post a PSARC case which we recently filed
to enhance zones. This work was done by community member Rich Lowe
and sponsored by me, and has been integrated into Nevada Build 36.

Here is the proposal, which we filed as closed-approved-automatic,
due to its very small size and narrow scope. Thanks, and thanks to
Rich for making zones better!

Note that despite the "patch" binding requested, we don't have plans to
patch this RFE back into the Solaris 10 Update release train at this
time. If that's a burning issue for you, please let us know.

-dp

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
logadm(1m) $zonename keyword
Rich Lowe <richlowe at richlowe dot net>

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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



--
Daniel Price - Solaris Kernel Engineering - dp at eng dot sun dot com - blogs.sun.com/dp
_______________________________________________
zones-discuss mailing list
zones-discuss at opensolaris dot org






Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.