From <IMAP4.psuedo.sims> Mon Jun  9 10:14:22 2008
Date: Mon, 9 Jun 2008 10:14:22 -0700 (PDT)
From: Postmaster
Subject: Message from mail server       
Content-Length: 95
Mime-Version: 1.0
Status: RO
X-IMAP: 1213031661 38

Delete.
This is a system message.                                














--END+PSEUDO--

From dr161460@sac.sfbay.sun.com Tue Jun  3 13:08:27 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53K8QYP007897
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 13:08:26 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m53K8FU6007619;
	Wed, 4 Jun 2008 04:08:25 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00L0DL9X1000@nwk-avmta-1.sfbay.Sun.COM>; Tue,
 03 Jun 2008 13:08:21 -0700 (PDT)
Received: from dm-sfbay-02.sfbay.sun.com ([129.146.11.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KJWL9WSQ00@nwk-avmta-1.sfbay.Sun.COM>; Tue,
 03 Jun 2008 13:08:20 -0700 (PDT)
Received: from sac.sfbay.sun.com (new-sac.SFBay.Sun.COM [129.146.175.65])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m53K8KtI047748; Tue, 03 Jun 2008 13:08:20 -0700 (PDT)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53K8JcB007892; Tue,
 03 Jun 2008 13:08:19 -0700 (PDT)
Received: (from dr161460@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id m53K8JdT007888; Tue,
 03 Jun 2008 13:08:19 -0700 (PDT)
Date: Tue, 03 Jun 2008 13:08:19 -0700 (PDT)
From: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Subject: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
To: lsarc-ext@sun.com
Message-id: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Content-Length: 2771
Status: RO
X-Status: $$$$
X-UID: 0000000001


Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 logrotate
    1.2. Name of Document Author/Supplier:
	 Author:  Colin Ngam
    1.3  Date of This Document:
	03 June, 2008
4. Technical Description
1. Background

	Logrotate rotates log files and archives them in a central location.

	Logrotate is externally maintained Free Open Source Software (FOSS).
	Sun's role with this project is to port and monitor the open source
	project.  For additional information about the project or originating
	community, see [1].  Upstream code changes are not currently needed or
	anticipated because the project already compiles and runs under
	Solaris and the version being integrated is stable.

	Logrotate is licensed under GPLv2 or later, though Sun will only
	distribute it under version 2.  See OSR #8589 [2] for more
	information.  This project will port logrotate 3.7.1.

	This project requests a minor release binding.


2. Architecture

	Logrotate reads the configuration file to determine which
	log files it should handle and what policies should be used
	for each log file.

	Based on the given rotation policy, a logfile may be renamed with a
	number added as a suffix.  The policy can be used specify the date
	instead of the number, and also can specify a file extension suffix to
	be added to the rotated log.  The policy can also specify that the
	rotated log be compressed, i.e. gzip.

	The policy can also tell logrotate to execute a command after the
	rotation; for example, to send SIGHUP to a daemon so it starts a new
	logfile.


3. Interfaces & Dependencies

   Exported Interfaces:

    Interface Name              Classification      Comments
    --------------------------- ------------------- --------------------
    SUNWlogrotate               Uncommitted         Package name
    logrotate                   Uncommitted         Commandline syntax
    logrotate.conf              Uncommitted         Configuration syntax
    /usr/sbin/logrotate         Uncommitted         Executable location
    /usr/share/man/man8/logrotate.8 Uncommitted   Man page
    /etc/logrotate.conf         Uncommitted         Config file location


   Imported Interfaces:

    Interface Name              Classification      Comments
    --------------------------- ------------------- --------------------
    libpopt(3)                  External


4. References

[1] http://www.sunfreeware.com
[2] https://opensourcereview.central.sun.com/app?action=ViewReq&traq_num=8589

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		SFW
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From Nicolas.Williams@Sun.COM Tue Jun  3 13:14:25 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53KEObA008221
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 13:14:24 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m53KEK4N003235
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 21:14:23 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W0000PLJWTX00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 13:14:20 -0700 (PDT)
Received: from binky.Central.Sun.COM ([129.153.128.104])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00IY2LJV4LB0@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 13:14:20 -0700 (PDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1) with ESMTP id m53KEFBw005990;
 Tue, 03 Jun 2008 15:14:15 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1/Submit) id m53KEFTd005989; Tue,
 03 Jun 2008 15:14:15 -0500 (CDT)
Date: Tue, 03 Jun 2008 15:14:15 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@Sun.COM
Message-id: <20080603201415.GG2735@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
X-Authentication-warning: binky.Central.Sun.COM: nw141292 set sender to
 Nicolas.Williams@sun.com using -f
User-Agent: Mutt/1.5.7i
Content-Length: 198
Status: RO
X-Status: $$$$
X-UID: 0000000002

On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
>     /usr/share/man/man8/logrotate.8 Uncommitted   Man page

Nit: there's no manpage section 8 in Solaris.  I think you want 1M here.

From roehrich@kickball-mn.Central.Sun.COM Tue Jun  3 13:23:45 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53KNip6008468
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 13:23:44 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m53KNb9Q012436
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Wed, 4 Jun 2008 04:23:43 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00M01LZFNO00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 13:23:39 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KAGLZFST30@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 13:23:39 -0700 (PDT)
Received: from kickball-mn.Central.Sun.COM
 (kickball-mn.Central.Sun.COM [10.1.170.217])	by dm-central-02.central.sun.com
 (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m53KNd6m060600	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 14:23:39 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM (localhost [127.0.0.1])
	by kickball-mn.Central.Sun.COM (8.13.6+Sun/8.13.6)
 with ESMTP id m53KG8bd003183; Tue, 03 Jun 2008 15:16:08 -0500 (CDT)
Received: (from roehrich@localhost)	by kickball-mn.Central.Sun.COM
 (8.13.6+Sun/8.13.6/Submit) id m53KG8ml003182; Tue,
 03 Jun 2008 15:16:08 -0500 (CDT)
Date: Tue, 03 Jun 2008 15:16:08 -0500
From: Dean Roehrich <Dean.Roehrich@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Message-id: <20080603201608.GA3177@kickball-mn.Central.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.9i
Content-Length: 1221
Status: RO
X-Status: $$$$
X-UID: 0000000003

On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
> 
> Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 logrotate
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Colin Ngam
>     1.3  Date of This Document:
> 	03 June, 2008
> 4. Technical Description
> 1. Background
> 
> 	Logrotate rotates log files and archives them in a central location.
> 
> 	Logrotate is externally maintained Free Open Source Software (FOSS).
> 	Sun's role with this project is to port and monitor the open source
> 	project.  For additional information about the project or originating
> 	community, see [1].  Upstream code changes are not currently needed or
> 	anticipated because the project already compiles and runs under
> 	Solaris and the version being integrated is stable.
> 
> 	Logrotate is licensed under GPLv2 or later, though Sun will only
> 	distribute it under version 2.  See OSR #8589 [2] for more
> 	information.  This project will port logrotate 3.7.1.
> 
> 	This project requests a minor release binding.

The foss checklist and manpage are in the case materials directory.

Dean

From Sebastien.Roy@sun.com Tue Jun  3 13:40:49 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53KemXI008673
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 13:40:49 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m53Keh9f014717
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 21:40:47 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00105MRXCV00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 13:40:45 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KMDMRXSQ50@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 13:40:45 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m53KeiFp025762	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 20:40:45 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K1W00D01LZNEK00@mail-amer.sun.com>
 (original mail from Sebastien.Roy@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 14:40:44 -0600 (MDT)
Received: from [192.168.1.5] ([71.174.191.147])
 by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K1W00EGZMRK9J20@mail-amer.sun.com>; Tue,
 03 Jun 2008 14:40:33 -0600 (MDT)
Date: Tue, 03 Jun 2008 16:40:31 -0400
From: Sebastien Roy <Sebastien.Roy@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
Sender: Sebastien.Roy@sun.com
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Message-id: <1212525631.918.19.camel@seb>
Organization: Sun Microsystems
MIME-version: 1.0
X-Mailer: Evolution 2.12.2
Content-type: text/plain
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
Content-Length: 889
Status: RO
X-Status: $$$$
X-UID: 0000000004

On Tue, 2008-06-03 at 13:08 -0700, Dean Roehrich wrote:
> 1. Background
> 
> 	Logrotate rotates log files and archives them in a central location.

I find it odd that this case doesn't make mention of logadm(1M), the
existing piece of architecture already in the OS which is nearly
identical to what is being introduced by this case.  It would be nice
for the case to (at least briefly) describe the relationship between
these two bits of architecture.

For example, is this case changing the log rolling facility that is
enabled by default (logadm is in root's crontab by default today)?  Can
the two facilities co-exist as long as they don't touch the same log
files?  How will administrators coming from other OSs that only have
logrotate know to read logadm(1M) and go into /etc/logadm.conf in order
to remove configuration that may conflict with their logrotate
configration?

-Seb



From carlsonj@phorcys.east.sun.com Tue Jun  3 13:59:41 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53KxeJ8009530
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 13:59:41 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m53KxWu9025301;
	Wed, 4 Jun 2008 04:59:37 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00105NNB5R00@brm-avmta-1.central.sun.com>; Tue,
 03 Jun 2008 14:59:35 -0600 (MDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00K22NNB3L70@brm-avmta-1.central.sun.com>; Tue,
 03 Jun 2008 14:59:35 -0600 (MDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m53KxYi2005173; Tue,
 03 Jun 2008 16:59:34 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m53KxYIi005170; Tue,
 03 Jun 2008 16:59:34 -0400 (EDT)
Date: Tue, 03 Jun 2008 16:59:34 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <1212525631.918.19.camel@seb>
To: Sebastien Roy <Sebastien.Roy@sun.com>
Cc: Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <18501.45238.76537.442810@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
 <1212525631.918.19.camel@seb>
Content-Length: 1465
Status: RO
X-Status: $$$$
X-UID: 0000000005

Sebastien Roy writes:
> On Tue, 2008-06-03 at 13:08 -0700, Dean Roehrich wrote:
> > 1. Background
> > 
> > 	Logrotate rotates log files and archives them in a central location.
> 
> I find it odd that this case doesn't make mention of logadm(1M), the
> existing piece of architecture already in the OS which is nearly
> identical to what is being introduced by this case.  It would be nice
> for the case to (at least briefly) describe the relationship between
> these two bits of architecture.
> 
> For example, is this case changing the log rolling facility that is
> enabled by default (logadm is in root's crontab by default today)?  Can
> the two facilities co-exist as long as they don't touch the same log
> files?  How will administrators coming from other OSs that only have
> logrotate know to read logadm(1M) and go into /etc/logadm.conf in order
> to remove configuration that may conflict with their logrotate
> configration?

I think this is really a recipe for confusion and disaster.  I don't
think having two functionally equivalent log file rotating mechanisms
is the right thing to do.  At all.

The only reason I've seen logrotate and similar things used on Solaris
systems is because we didn't have logadm prior to S10.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From ceri@submonkey.net Tue Jun  3 14:00:27 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53L0QIV009616
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 14:00:27 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m53L0OkC013385
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 15:00:26 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00309NOPG200@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 14:00:25 -0700 (PDT)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KSQNOPST90@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 14:00:25 -0700 (PDT)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m53Kw8io021115	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 21:00:24 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay15i.sun.com with ESMTP id BT-MMP-284131 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:00:24 +0000 (Z)
Received: from relay12i.sun.com (relay12i.sun.com [129.179.4.122])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-606776 for
 lsarc-ext@sun.com; Tue, 03 Jun 2008 21:00:24 +0000 (Z)
Received: from shrike.submonkey.net ([82.15.31.38] [82.15.31.38])
 by relay1ib.sun.com with ESMTP id BT-MMP-3803768 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:00:23 +0000 (Z)
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1K3dcD-000Ppn-TY; Tue,
 03 Jun 2008 22:00:21 +0100
Date: Tue, 03 Jun 2008 22:00:21 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
Sender: Ceri Davies <ceri@submonkey.net>
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Message-id: <20080603210021.GF10783@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=y2zxS2PfCDLh6JVG
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.155sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Content-Length: 2010
Status: RO
X-Status: $$$$
X-UID: 0000000006


--y2zxS2PfCDLh6JVG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
>=20
> Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 logrotate
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Colin Ngam
>     1.3  Date of This Document:
> 	03 June, 2008
> 4. Technical Description
> 1. Background
>=20
> 	Logrotate rotates log files and archives them in a central location.
>=20
> 	Logrotate is externally maintained Free Open Source Software (FOSS).
> 	Sun's role with this project is to port and monitor the open source
> 	project.  For additional information about the project or originating
> 	community, see [1].  Upstream code changes are not currently needed or
> 	anticipated because the project already compiles and runs under
> 	Solaris and the version being integrated is stable.


> [1] http://www.sunfreeware.com

I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
is certainly not the originating community for logrotate, that's just
somewhere the source file exists.  As Sun's role is to "monitor the open
source project", do they even know where it is?  The logrotate utility
doesn't appear to have a "homepage" on the world wide web, being
maintained in Red Hat's CVS tree only so far as I can see [2].

Ceri

[1] NMFN; see above.
[2] CVSROOT=3D:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS

--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--y2zxS2PfCDLh6JVG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFIRbDlocfcwTS3JF8RAq8TAKCscaxaBFhCcskfSrVQN05nSF8ZvQCgmyUF
9Z0tyPgJVRvYWcwENDG7iT0=
=gunF
-----END PGP SIGNATURE-----

--y2zxS2PfCDLh6JVG--

From kaboom@oobleck.net Tue Jun  3 14:12:26 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53LCOI8010562
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 14:12:26 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m53LCMgd021456
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 14:12:24 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W0045TO8NNI00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 14:12:23 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KL9O8MSQA0@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 14:12:22 -0700 (PDT)
Received: from relay44i.sun.com ([192.5.209.118])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m53L9wbU024803	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 21:12:22 +0000 (GMT)
Received: from mms48es.mms.us.syntegra.com ([160.41.221.230] [160.41.221.230])
 by relay44i.sun.com with ESMTP id BT-MMP-233726 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:12:21 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mms48es.mms.us.syntegra.com with ESMTP id BT-MMP-12389913 for
 lsarc-ext@sun.com; Tue, 03 Jun 2008 21:12:21 +0000 (Z)
Received: from mail.oobleck.net ([24.214.125.51] [24.214.125.51])
 by relay4i.sun.com with ESMTP id BT-MMP-9034180 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:12:21 +0000 (Z)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mail.oobleck.net (Postfix) with ESMTP id 9BE9D30A7F8; Tue,
 03 Jun 2008 17:12:20 -0400 (EDT)
Date: Tue, 03 Jun 2008 17:12:20 -0400 (EDT)
From: Chris Ricker <kaboom@oobleck.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080603210021.GF10783@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <alpine.LFD.1.10.0806031708460.13243@urd.oobleck.net>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.059sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
 <20080603210021.GF10783@submonkey.net>
User-Agent: Alpine 1.10 (LFD 962 2008-03-14)
Content-Length: 543
Status: RO
X-Status: $$$$
X-UID: 0000000007

On Tue, 3 Jun 2008, Ceri Davies wrote:

> I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
> is certainly not the originating community for logrotate, that's just
> somewhere the source file exists.  As Sun's role is to "monitor the open
> source project", do they even know where it is?  The logrotate utility
> doesn't appear to have a "homepage" on the world wide web, being
> maintained in Red Hat's CVS tree only so far as I can see [2].

Upstream official page is

https://fedorahosted.org/logrotate/

later,
chris

From unixconsole@yahoo.com Tue Jun  3 14:23:44 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53LNhDB011892
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 14:23:43 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m53LNdgR001904
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 22:23:42 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00301ORIRB00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 14:23:42 -0700 (PDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W003LSORHGL00@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 14:23:41 -0700 (PDT)
Received: from relay42i.sun.com ([192.5.209.72])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m53LNfY2018062	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 21:23:41 +0000 (GMT)
Received: from mms49es.mms.us.syntegra.com ([160.41.221.232] [160.41.221.232])
 by relay42i.sun.com with ESMTP id BT-MMP-234104 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:23:41 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mms49es.mms.us.syntegra.com with ESMTP id BT-MMP-12405645 for
 lsarc-ext@sun.com; Tue, 03 Jun 2008 21:23:40 +0000 (Z)
Received: from web30803.mail.mud.yahoo.com ([68.142.200.146] [68.142.200.146])
 by relay4i.sun.com id BT-MMP-9237164 for lsarc-ext@sun.com; Tue,
 03 Jun 2008 21:23:40 +0000 (Z)
Received: (qmail 73875 invoked by uid 60001); Tue, 03 Jun 2008 21:22:50 +0000
Received: from [71.52.80.224] by web30803.mail.mud.yahoo.com via HTTP; Tue,
 03 Jun 2008 14:22:50 -0700 (PDT)
Date: Tue, 03 Jun 2008 14:22:50 -0700 (PDT)
From: Octave Orgeron <unixconsole@yahoo.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
To: Ceri Davies <ceri@submonkey.net>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Message-id: <440055.73181.qm@web30803.mail.mud.yahoo.com>
MIME-version: 1.0
X-Mailer: YahooMailRC/975.42 YahooMailWebService/0.7.185
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.com;
 h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
 b=QgcklBZseI9RO3YNvHyWjsq/uMLhOBNPgup8/ji5s6+g8wW68iBQ9XG+w91HxNcdyNqNixpUn1kSQg21BNN5Db6cxlm+hGgXk1sDAvGRXonaZMuNaNX6ewxghmMX3zO+mqMpuduqerQSSryVwUX5MknJe4CP9T0aTfFJBMQjHr0=;
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-YMail-OSG: 
 TuSCaU0VM1lQziMk1NOa1zcMJvHCy0GmTz2czeNs22QKE0gkyRuI7TwG_7dvpUhsJ6UaTc7Q4c.Qxq2C8HgKTLA.tKvTJZU0j8lq6JyCGxAjdA8fw8NLb_nWuw--
X-Antispam: No, score=0.0/5.0, scanned in 0.290sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Length: 2324
Status: RO
X-Status: $$$$
X-UID: 0000000008

Hmm... we already have logadm to rotate logs in Solaris today. Logcheck would be more interesting. We don't have a built-in utility to scan logs for issues. I have a pkg'd version of logcheck, if anyone is interested.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole@yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: Ceri Davies <ceri@submonkey.net>
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Sent: Tuesday, June 3, 2008 4:00:21 PM
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
> 
> Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
>      logrotate
>     1.2. Name of Document Author/Supplier:
>      Author:  Colin Ngam
>     1.3  Date of This Document:
>     03 June, 2008
> 4. Technical Description
> 1. Background
> 
>     Logrotate rotates log files and archives them in a central location.
> 
>     Logrotate is externally maintained Free Open Source Software (FOSS).
>     Sun's role with this project is to port and monitor the open source
>     project.  For additional information about the project or originating
>     community, see [1].  Upstream code changes are not currently needed or
>     anticipated because the project already compiles and runs under
>     Solaris and the version being integrated is stable.


> [1] http://www.sunfreeware.com

I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
is certainly not the originating community for logrotate, that's just
somewhere the source file exists.  As Sun's role is to "monitor the open
source project", do they even know where it is?  The logrotate utility
doesn't appear to have a "homepage" on the world wide web, being
maintained in Red Hat's CVS tree only so far as I can see [2].

Ceri

[1] NMFN; see above.
[2] CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS

-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere



      

From Mark.Carlson@sun.com Tue Jun  3 14:27:57 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53LRvhH011941
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 14:27:57 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m53LRtiT024490
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 14:27:57 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W0030VOYJBN00@brm-avmta-1.central.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 15:27:55 -0600 (MDT)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00KK6OYI3ID0@brm-avmta-1.central.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 15:27:54 -0600 (MDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m53LRsUq018415	for
 <lsarc-ext@sun.com>; Tue, 03 Jun 2008 21:27:54 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K1W00J01O9R5000@mail-amer.sun.com>
 (original mail from Mark.Carlson@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 15:27:54 -0600 (MDT)
Received: from Macintosh-205.local ([71.237.94.98])
 by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0K1W000D7OYC0D00@mail-amer.sun.com>; Tue,
 03 Jun 2008 15:27:49 -0600 (MDT)
Date: Tue, 03 Jun 2008 15:27:48 -0600
From: "Mark A. Carlson" <Mark.Carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <440055.73181.qm@web30803.mail.mud.yahoo.com>
Sender: Mark.Carlson@sun.com
To: Octave Orgeron <unixconsole@yahoo.com>
Cc: Ceri Davies <ceri@submonkey.net>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <4845B754.8050408@sun.com>
MIME-version: 1.0
Content-type: multipart/alternative;
 boundary="Boundary_(ID_vdCsUrUdmkY9sDGQy1wZZw)"
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Content-Length: 6421
Status: RO
X-Status: $$$$
X-UID: 0000000009

This is a multi-part message in MIME format.

--Boundary_(ID_vdCsUrUdmkY9sDGQy1wZZw)
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

The "we already have X" argument does not apply to
familiarity projects such as this one. If the Linux
developer/admin doesn't find his favorite tool, he
moves on...

-- mark

Octave Orgeron wrote:
> Hmm... we already have logadm to rotate logs in Solaris today. Logcheck would be more interesting. We don't have a built-in utility to scan logs for issues. I have a pkg'd version of logcheck, if anyone is interested.
>
>  *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> Octave J. Orgeron
> Solaris Systems Engineer
> http://www.opensolaris.org/os/community/sysadmin/
> http://unixconsole.blogspot.com
> unixconsole@yahoo.com
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
>
> ----- Original Message ----
> From: Ceri Davies <ceri@submonkey.net>
> To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
> Cc: lsarc-ext@sun.com
> Sent: Tuesday, June 3, 2008 4:00:21 PM
> Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
>
> On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
>   
>> Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
>> This information is Copyright 2008 Sun Microsystems
>> 1. Introduction
>>     1.1. Project/Component Working Name:
>>      logrotate
>>     1.2. Name of Document Author/Supplier:
>>      Author:  Colin Ngam
>>     1.3  Date of This Document:
>>     03 June, 2008
>> 4. Technical Description
>> 1. Background
>>
>>     Logrotate rotates log files and archives them in a central location.
>>
>>     Logrotate is externally maintained Free Open Source Software (FOSS).
>>     Sun's role with this project is to port and monitor the open source
>>     project.  For additional information about the project or originating
>>     community, see [1].  Upstream code changes are not currently needed or
>>     anticipated because the project already compiles and runs under
>>     Solaris and the version being integrated is stable.
>>     
>
>
>   
>> [1] http://www.sunfreeware.com
>>     
>
> I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
> is certainly not the originating community for logrotate, that's just
> somewhere the source file exists.  As Sun's role is to "monitor the open
> source project", do they even know where it is?  The logrotate utility
> doesn't appear to have a "homepage" on the world wide web, being
> maintained in Red Hat's CVS tree only so far as I can see [2].
>
> Ceri
>
> [1] NMFN; see above.
> [2] CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS
>
>   

--Boundary_(ID_vdCsUrUdmkY9sDGQy1wZZw)
Content-type: text/html; charset=ISO-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>The "we already have X" argument does not apply to<br>
familiarity projects such as this one. If the Linux<br>
developer/admin doesn't find his favorite tool, he<br>
moves on...<br>
<br>
-- mark<br>
</tt><br>
Octave Orgeron wrote:
<blockquote cite="mid:440055.73181.qm@web30803.mail.mud.yahoo.com"
 type="cite">
  <pre wrap="">Hmm... we already have logadm to rotate logs in Solaris today. Logcheck would be more interesting. We don't have a built-in utility to scan logs for issues. I have a pkg'd version of logcheck, if anyone is interested.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
<a class="moz-txt-link-freetext" href="http://www.opensolaris.org/os/community/sysadmin/">http://www.opensolaris.org/os/community/sysadmin/</a>
<a class="moz-txt-link-freetext" href="http://unixconsole.blogspot.com">http://unixconsole.blogspot.com</a>
<a class="moz-txt-link-abbreviated" href="mailto:unixconsole@yahoo.com">unixconsole@yahoo.com</a>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: Ceri Davies <a class="moz-txt-link-rfc2396E" href="mailto:ceri@submonkey.net">&lt;ceri@submonkey.net&gt;</a>
To: Dean Roehrich <a class="moz-txt-link-rfc2396E" href="mailto:dr161460@sac.sfbay.sun.com">&lt;dr161460@sac.sfbay.sun.com&gt;</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:lsarc-ext@sun.com">lsarc-ext@sun.com</a>
Sent: Tuesday, June 3, 2008 4:00:21 PM
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
This information is Copyright 2008 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
     logrotate
    1.2. Name of Document Author/Supplier:
     Author:  Colin Ngam
    1.3  Date of This Document:
    03 June, 2008
4. Technical Description
1. Background

    Logrotate rotates log files and archives them in a central location.

    Logrotate is externally maintained Free Open Source Software (FOSS).
    Sun's role with this project is to port and monitor the open source
    project.  For additional information about the project or originating
    community, see [1].  Upstream code changes are not currently needed or
    anticipated because the project already compiles and runs under
    Solaris and the version being integrated is stable.
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
  <blockquote type="cite">
    <pre wrap="">[1] <a class="moz-txt-link-freetext" href="http://www.sunfreeware.com">http://www.sunfreeware.com</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
is certainly not the originating community for logrotate, that's just
somewhere the source file exists.  As Sun's role is to "monitor the open
source project", do they even know where it is?  The logrotate utility
doesn't appear to have a "homepage" on the world wide web, being
maintained in Red Hat's CVS tree only so far as I can see [2].

Ceri

[1] NMFN; see above.
[2] <a class="moz-txt-link-abbreviated" href="mailto:CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS">CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS</a>

  </pre>
</blockquote>
</body>
</html>

--Boundary_(ID_vdCsUrUdmkY9sDGQy1wZZw)--

From randy.fishel@sun.com Tue Jun  3 15:48:40 2008
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m53MmeDN018846
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 15:48:40 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m53Mmdfb008923
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 15:48:39 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00F01SP28K00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 15:48:38 -0700 (PDT)
Received: from dm-eng-02.sfbay.sun.com ([129.146.11.32])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W009YFSP2MH20@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 15:48:38 -0700 (PDT)
Received: from grimmy.eng.sun.com (grimmy.SFBay.Sun.COM [129.146.108.114])
	by dm-eng-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id m53MmbKl025066; Tue, 03 Jun 2008 15:48:37 -0700 (PDT)
Received: from grimmy.eng.sun.com (localhost [127.0.0.1])
	by grimmy.eng.sun.com (8.12.10+Sun/8.12.10) with ESMTP id m53MmYOp011692; Tue,
 03 Jun 2008 15:48:34 -0700 (PDT)
Received: from localhost (randyf@localhost)
	by grimmy.eng.sun.com (8.12.10+Sun/8.12.10/Submit)
 with ESMTP id m53MmYkg011688; Tue, 03 Jun 2008 15:48:34 -0700 (PDT)
Date: Tue, 03 Jun 2008 15:48:34 -0700 (PDT)
From: Randy Fishel <randy.fishel@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <4845B754.8050408@sun.com>
X-X-Sender: randyf@grimmy
To: "Mark A. Carlson" <Mark.Carlson@sun.com>
Cc: Octave Orgeron <unixconsole@yahoo.com>, Ceri Davies <ceri@submonkey.net>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <alpine.GSO.1.10.0806031516340.11580@grimmy>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com>
X-Authentication-warning: grimmy.eng.sun.com: randyf owned process doing -bs
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
Content-Length: 2894
Status: RO
X-Status: $$$$
X-UID: 0000000010


On Tue, 3 Jun 2008, Mark A. Carlson wrote:

> The "we already have X" argument does not apply to
> familiarity projects such as this one. If the Linux
> developer/admin doesn't find his favorite tool, he
> moves on...
> 
> -- mark

  It would apply if the tool in question conflicted with an existing 
tool, and I believe a conflict exists (it could well be that both 
tools will be asked to rotate the same logfile).  So it is the 
responsibility of the project team to describe or document the 
interaction between logadm(1m), and logrotate.

	---- Randy

> 
> Octave Orgeron wrote:
> 
>  Hmm... we already have logadm to rotate logs in Solaris today. 
> Logcheck would be more interesting. We don't have a built-in utility 
> to scan logs for issues. I have a pkg'd version of logcheck, if 
> anyone is interested.
> 
>  *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> Octave J. Orgeron
> Solaris Systems Engineer
> http://www.opensolaris.org/os/community/sysadmin/
> http://unixconsole.blogspot.com
> unixconsole@yahoo.com
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> 
> 
> ----- Original Message ----
> From: Ceri Davies <ceri@submonkey.net>
> To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
> Cc: lsarc-ext@sun.com
> Sent: Tuesday, June 3, 2008 4:00:21 PM
> Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
> 
> On Tue, Jun 03, 2008 at 01:08:19PM -0700, Dean Roehrich wrote:
>   
> 
>  Template Version: @(#)sac_nextcase 1.66 04/17/08 SMI
> This information is Copyright 2008 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
>      logrotate
>     1.2. Name of Document Author/Supplier:
>      Author:  Colin Ngam
>     1.3  Date of This Document:
>     03 June, 2008
> 4. Technical Description
> 1. Background
> 
>     Logrotate rotates log files and archives them in a central location.
> 
>     Logrotate is externally maintained Free Open Source Software (FOSS).
>     Sun's role with this project is to port and monitor the open source
>     project.  For additional information about the project or originating
>     community, see [1].  Upstream code changes are not currently needed or
>     anticipated because the project already compiles and runs under
>     Solaris and the version being integrated is stable.
>     
> 
>  [1] http://www.sunfreeware.com
>     
> 
>  I wonder if by "stable" you actually mean "unmaintained"?  Sunfreeware
> is certainly not the originating community for logrotate, that's just
> somewhere the source file exists.  As Sun's role is to "monitor the open
> source project", do they even know where it is?  The logrotate utility
> doesn't appear to have a "homepage" on the world wide web, being
> maintained in Red Hat's CVS tree only so far as I can see [2].
> 
> Ceri
> 
> [1] NMFN; see above.
> [2] CVSROOT=:pserver:anonymous@rhlinux.redhat.com:/usr/local/CVS
> 
>   
> 
> 
> 

From unixconsole@yahoo.com Tue Jun  3 17:21:59 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m540LxFn026270
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 3 Jun 2008 17:21:59 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m540Lwn7064167
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 3 Jun 2008 18:21:58 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1W00G0BX0MYD00@brm-avmta-1.central.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 03 Jun 2008 18:21:58 -0600 (MDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1W00580X0MCR70@brm-avmta-1.central.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 03 Jun 2008 18:21:58 -0600 (MDT)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m540H13t022524	for
 <lsarc-ext@sun.com>; Wed, 04 Jun 2008 00:21:58 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-290577 for lsarc-ext@sun.com; Wed,
 04 Jun 2008 00:21:58 +0000 (Z)
Received: from relay17i.sun.com (relay17i.sun.com [129.179.4.127])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-21830698 for
 lsarc-ext@sun.com; Wed, 04 Jun 2008 00:21:57 +0000 (Z)
Received: from web30806.mail.mud.yahoo.com ([68.142.200.149] [68.142.200.149])
 by relay1ib.sun.com id BT-MMP-3528080 for lsarc-ext@sun.com; Wed,
 04 Jun 2008 00:21:57 +0000 (Z)
Received: (qmail 65230 invoked by uid 60001); Wed, 04 Jun 2008 00:21:56 +0000
Received: from [71.52.80.224] by web30806.mail.mud.yahoo.com via HTTP; Tue,
 03 Jun 2008 17:21:56 -0700 (PDT)
Date: Tue, 03 Jun 2008 17:21:56 -0700 (PDT)
From: Octave Orgeron <unixconsole@yahoo.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
To: James Carlson <james.d.carlson@sun.com>,
        Sebastien Roy <Sebastien.Roy@sun.com>
Cc: Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <761609.65163.qm@web30806.mail.mud.yahoo.com>
MIME-version: 1.0
X-Mailer: YahooMailRC/975.42 YahooMailWebService/0.7.185
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.com;
 h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
 b=xOGfTOnSGsnxMKc6GvKBHDQ6TPIl5GZ3qiddCyxBqc/1qEUKwA1fu2PBVqOxl5qtRrMFqE7fjqqApHltDRrw89fCDQtKWFyVuIBYYaQO5bgLTs8goxoxFa9X/i+w1tYbjtmZ5HztSb6yQ7WSfDqA0zoTPqKpMqvDPZuKCbGLySg=;
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-YMail-OSG: 
 3MTNPTwVM1l0OhNtBd99flqXR4nEDDkc.bJAaNI75UC.O0OVXBhzHHBlJlkTMsvYr26zGcplIGbtMW71Gl.03DawhqVaNyHKG.QnK5TuKlfgxZy8mGoiJr55UQ--
X-Antispam: No, score=0.0/5.0, scanned in 0.089sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Length: 2653
Status: RO
X-Status: $$$$
X-UID: 0000000011

Agreed. I stopped using logrotate when I moved to Solaris 9 and transitioned to logadm. The big difference I see between the tools is the configuration file syntax(logadm.conf is simpler)  and the fact that logadm.conf contains the time stamp info. Other than that, the functionality is the same. I do think that having two tools that have the same results is a bit confusing. Logadm does a good job. The main issue is that most SA's don't know about it. Perhaps what's really needed is a GUI tool in Gnome for newbies?

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole@yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: James Carlson <james.d.carlson@sun.com>
To: Sebastien Roy <Sebastien.Roy@sun.com>
Cc: Dean Roehrich <dr161460@sac.sfbay.sun.com>; lsarc-ext@sun.com
Sent: Tuesday, June 3, 2008 3:59:34 PM
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

Sebastien Roy writes:
> On Tue, 2008-06-03 at 13:08 -0700, Dean Roehrich wrote:
> > 1. Background
> > 
> >     Logrotate rotates log files and archives them in a central location.
> 
> I find it odd that this case doesn't make mention of logadm(1M), the
> existing piece of architecture already in the OS which is nearly
> identical to what is being introduced by this case.  It would be nice
> for the case to (at least briefly) describe the relationship between
> these two bits of architecture.
> 
> For example, is this case changing the log rolling facility that is
> enabled by default (logadm is in root's crontab by default today)?  Can
> the two facilities co-exist as long as they don't touch the same log
> files?  How will administrators coming from other OSs that only have
> logrotate know to read logadm(1M) and go into /etc/logadm.conf in order
> to remove configuration that may conflict with their logrotate
> configration?

I think this is really a recipe for confusion and disaster.  I don't
think having two functionally equivalent log file rotating mechanisms
is the right thing to do.  At all.

The only reason I've seen logrotate and similar things used on Solaris
systems is because we didn't have logadm prior to S10.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org



      

From ceri@submonkey.net Wed Jun  4 02:07:43 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m5497hac008482
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 02:07:43 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m5497gXr050697
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Wed, 4 Jun 2008 03:07:43 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1X00E0RLCU2R00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@Sun.COM); Wed, 04 Jun 2008 02:07:42 -0700 (PDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1X00DIQLCTFS10@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@Sun.COM); Wed,
 04 Jun 2008 02:07:41 -0700 (PDT)
Received: from relay22.sun.com
 (relay22.sun.com [192.12.251.34] (may be forged))	by sca-ea-mail-3.sun.com
 (8.13.6+Sun/8.12.9) with ESMTP id m5494oqF010134	for <lsarc-ext@Sun.COM>; Wed,
 04 Jun 2008 09:07:41 +0000 (GMT)
Received: from mms24es.mms.us.syntegra.com ([150.143.232.70] [150.143.232.70])
 by relay22i.sun.com with ESMTP id BT-MMP-446279 for lsarc-ext@Sun.COM; Wed,
 04 Jun 2008 09:07:41 +0000 (Z)
Received: from relay23.sun.com (relay23.sun.com [192.12.251.54])
 by mms24es.mms.us.syntegra.com with ESMTP id BT-MMP-13707333 for
 lsarc-ext@Sun.COM; Wed, 04 Jun 2008 09:07:41 +0000 (Z)
Received: from shrike.submonkey.net ([82.15.31.38] [82.15.31.38])
 by relay23i.sun.com with ESMTP id BT-MMP-16910787 for lsarc-ext@Sun.COM; Wed,
 04 Jun 2008 09:07:40 +0000 (Z)
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1K3oy0-000Oca-Db; Wed,
 04 Jun 2008 10:07:36 +0100
Date: Wed, 04 Jun 2008 10:07:36 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <4845B754.8050408@sun.com>
Sender: Ceri Davies <ceri@submonkey.net>
To: "Mark A. Carlson" <Mark.Carlson@sun.com>
Cc: Octave Orgeron <unixconsole@yahoo.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <20080604090736.GI10783@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=1XWsVB21DFCvn2e8
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.057sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Content-Length: 1139
Status: RO
X-Status: $$$$
X-UID: 0000000012


--1XWsVB21DFCvn2e8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 03, 2008 at 03:27:48PM -0600, Mark A. Carlson wrote:
> The "we already have X" argument does not apply to
> familiarity projects such as this one. If the Linux
> developer/admin doesn't find his favorite tool, he
> moves on...

Frankly, I don't believe that's true.  At the very least they hit Google
or run 'man -k log' and either way, I doubt that logrotate is a huge
deal breaker.

Do Sun really intend to port every single command known to man just
in case someone can't find it and "moves on" as a result?  Even given
recent events, I don't think that's true.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--1XWsVB21DFCvn2e8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFIRltYocfcwTS3JF8RAgjqAKC9p6ZHWm1fkvgnGfk87C+GuiwengCcDG37
QAF/zTbOjSAZmY61cw6VGZ4=
=hO/F
-----END PGP SIGNATURE-----

--1XWsVB21DFCvn2e8--

From carlsonj@phorcys.east.sun.com Wed Jun  4 05:54:14 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m54CsD9v014861
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 05:54:14 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m54CsDMa042164;
	Wed, 4 Jun 2008 06:54:13 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1X00I01VUD2Z00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 04 Jun 2008 05:54:13 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1X00FDLVUCHE10@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 04 Jun 2008 05:54:13 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m54Ckf2I007099; Wed,
 04 Jun 2008 08:46:41 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m54CkfL3007096; Wed,
 04 Jun 2008 08:46:41 -0400 (EDT)
Date: Wed, 04 Jun 2008 08:46:41 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080604090736.GI10783@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: "Mark A. Carlson" <Mark.Carlson@sun.com>, lsarc-ext@sun.com,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>
Message-id: <18502.36529.570663.96784@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <20080604090736.GI10783@submonkey.net>
Content-Length: 485
Status: RO
X-Status: $$$$
X-UID: 0000000013

Ceri Davies writes:
> Do Sun really intend to port every single command known to man just
> in case someone can't find it and "moves on" as a result?  Even given
> recent events, I don't think that's true.

Not those known to man, just those known to Linuxman.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From daleg@elemental.org Wed Jun  4 09:54:20 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m54GsJ2j000419
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 09:54:19 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m54Gs83o015802;
	Wed, 4 Jun 2008 17:54:16 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Y009296YDMA00@nwk-avmta-2.sfbay.sun.com>; Wed,
 04 Jun 2008 09:54:13 -0700 (PDT)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Y004O56Y7K6A0@nwk-avmta-2.sfbay.sun.com>; Wed,
 04 Jun 2008 09:54:12 -0700 (PDT)
Received: from relay41i.sun.com ([192.5.209.70])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m54GpTMM004550;
 Wed, 04 Jun 2008 16:54:07 +0000 (GMT)
Received: from mms48es.mms.us.syntegra.com ([160.41.221.230] [160.41.221.230])
 by relay41i.sun.com with ESMTP id BT-MMP-266804; Wed,
 04 Jun 2008 16:54:07 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mms48es.mms.us.syntegra.com with ESMTP id BT-MMP-13993348; Wed,
 04 Jun 2008 16:54:07 +0000 (Z)
Received: from mercury.elemental.org ([205.134.191.194] [205.134.191.194])
 by relay4i.sun.com with ESMTP id BT-MMP-10304415; Wed,
 04 Jun 2008 16:54:07 +0000 (Z)
Received: from [10.75.10.116]
 (nat-204-14-233-150-rvo.net.salesforce.com [204.14.233.150])
	(authenticated bits=0)	by mercury.elemental.org (8.14.3/8.14.3/ELEMENTAL-4.0)
 with ESMTP id m54GrxfC015823
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed,
 04 Jun 2008 12:53:59 -0400 (EDT)
Date: Wed, 04 Jun 2008 12:53:59 -0400
From: Dale Ghent <daleg@elemental.org>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <18502.36529.570663.96784@gargle.gargle.HOWL>
To: James Carlson <james.d.carlson@sun.com>
Cc: Ceri Davies <ceri@submonkey.net>, "Mark A. Carlson" <Mark.Carlson@sun.com>,
        lsarc-ext@sun.com, Dean Roehrich <dr161460@sac.sfbay.sun.com>
Message-id: <25AD11E3-0FB6-4FB5-91AF-1ABB0EACE188@elemental.org>
MIME-version: 1.0
X-Mailer: Apple Mail (2.919.2)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Greylist: Sender succeeded SMTP AUTH,
 not delayed by milter-greylist-4.0 (mercury.elemental.org [205.134.191.194]);
 Wed, 04 Jun 2008 12:53:59 -0400 (EDT)
X-Virus-Scanned: ClamAV 0.92/7361/Wed Jun  4 09:59:48 2008 on
 mercury.elemental.org
X-Virus-Status: Clean
X-Antispam: No, score=0.0/5.0, scanned in 0.049sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <20080604090736.GI10783@submonkey.net>
 <18502.36529.570663.96784@gargle.gargle.HOWL>
Content-Length: 556
Status: RO
X-Status: $$$$
X-UID: 0000000014

On Jun 4, 2008, at 8:46 AM, James Carlson wrote:

> Ceri Davies writes:
>> Do Sun really intend to port every single command known to man just
>> in case someone can't find it and "moves on" as a result?  Even given
>> recent events, I don't think that's true.
>
> Not those known to man, just those known to Linuxman.

So then where's the line being drawn? Would you duplicate Linux's / 
proc so the Linuxman doesn't have to bother with learning ndd or kstat?

If someone wants to boot Solaris, they should learn that there are  
some differences.

/dale

From roehrich@kickball-mn.Central.Sun.COM Wed Jun  4 13:33:18 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m54KXHf2013930
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 13:33:18 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m54KXEMB026165
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 04:33:16 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Y00H0JH3EQM00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Wed, 04 Jun 2008 13:33:14 -0700 (PDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Y00HNUH3DJF00@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Wed,
 04 Jun 2008 13:33:13 -0700 (PDT)
Received: from kickball-mn.Central.Sun.COM
 (kickball-mn.Central.Sun.COM [10.1.170.217])	by dm-central-01.central.sun.com
 (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m54KXDZi054824	for
 <lsarc-ext@sun.com>; Wed, 04 Jun 2008 14:33:13 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM (localhost [127.0.0.1])
	by kickball-mn.Central.Sun.COM (8.13.6+Sun/8.13.6)
 with ESMTP id m54KXDE0016568	for <lsarc-ext@sun.com>; Wed,
 04 Jun 2008 15:33:13 -0500 (CDT)
Received: (from roehrich@localhost)	by kickball-mn.Central.Sun.COM
 (8.13.6+Sun/8.13.6/Submit) id m54KXCah016567	for lsarc-ext@sun.com; Wed,
 04 Jun 2008 15:33:12 -0500 (CDT)
Date: Wed, 04 Jun 2008 15:33:12 -0500
From: Dean Roehrich <Dean.Roehrich@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
To: lsarc-ext@sun.com
Message-id: <20080604203312.GA16562@kickball-mn.Central.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.9i
Content-Length: 3054
Status: RO
X-Status: $$$$
X-UID: 0000000015

We'll put the manpage in section 1m and add logadm(1m) to the SEE ALSO
section.  This version is now in the materials directory.

I've updated the one-pager (here) and the foss checklist (in the materials
dir) to reflect the fedora source as the upstream source for logrotate.  The
Debian version is what was known at the time the OSR was filed, and appears to
be nearly up to date with the fedora version, so we'll stick with that.  We've
indicated that future tracking should follow the fedora version.

Dean

-------------

1. Background

	Logrotate rotates log files and archives them in a central location.

	Logrotate is externally maintained Free Open Source Software (FOSS).
	Sun's role with this project is to port and monitor the open source
	project.  For additional information about the project or originating
	community, see [1].  Upstream code changes are not currently needed or
	anticipated because the project already compiles and runs under
	Solaris and the version being integrated is stable.

	Logrotate is licensed under GPLv2 or later, though Sun will only
	distribute it under version 2.  See OSR #8589 [2] for more
	information.  This project will port logrotate 3.7.1 from the Debian
	source, as this matches the information which was known at the time of
	the OSR.  The Debian source appears to be fed from (and is only
	slightly behind at this time) the Fedora source [1] and future updates
	will track Fedora.

	This project requests a minor release binding.


2. Architecture

	Logrotate reads the configuration file to determine which
	log files it should handle and what policies should be used
	for each log file.

	Based on the given rotation policy, a logfile may be renamed with a
	number added as a suffix.  The policy can be used specify the date
	instead of the number, and also can specify a file extension suffix to
	be added to the rotated log.  The policy can also specify that the
	rotated log be compressed, i.e. gzip.

	The policy can also tell logrotate to execute a command after the
	rotation; for example, to send SIGHUP to a daemon so it starts a new
	logfile.


3. Interfaces & Dependencies

   Exported Interfaces:

    Interface Name              Classification      Comments
    --------------------------- ------------------- --------------------
    SUNWlogrotate               Uncommitted         Package name
    logrotate                   Uncommitted         Commandline syntax
    logrotate.conf              Uncommitted         Configuration syntax
    /usr/sbin/logrotate         Uncommitted         Executable location
    /usr/share/man/man8/logrotate.1m Uncommitted   Man page
    /etc/logrotate.conf         Uncommitted         Config file location


   Imported Interfaces:

    Interface Name              Classification      Comments
    --------------------------- ------------------- --------------------
    libpopt(3)                  External


4. References

[1] https://fedorahosted.org/logrotate/
[2] https://opensourcereview.central.sun.com/app?action=ViewReq&traq_num=8589

From unixconsole@yahoo.com Wed Jun  4 18:02:36 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m5512Zkj022990
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 18:02:35 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m5512WJO010582
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 09:02:34 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Y00E0BTK8MT00@brm-avmta-1.central.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Wed, 04 Jun 2008 19:02:32 -0600 (MDT)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Y00DT6TK7V500@brm-avmta-1.central.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Wed,
 04 Jun 2008 19:02:31 -0600 (MDT)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m5511lDM025047	for
 <lsarc-ext@sun.com>; Thu, 05 Jun 2008 01:02:31 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-346078 for lsarc-ext@sun.com; Thu,
 05 Jun 2008 01:02:31 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-23916119 for
 lsarc-ext@sun.com; Thu, 05 Jun 2008 01:02:30 +0000 (Z)
Received: from web30804.mail.mud.yahoo.com ([68.142.200.147] [68.142.200.147])
 by relay1ib.sun.com id BT-MMP-3517278 for lsarc-ext@sun.com; Thu,
 05 Jun 2008 01:02:30 +0000 (Z)
Received: (qmail 4966 invoked by uid 60001); Thu, 05 Jun 2008 01:02:21 +0000
Received: from [71.52.80.224] by web30804.mail.mud.yahoo.com via HTTP; Wed,
 04 Jun 2008 18:02:21 -0700 (PDT)
Date: Wed, 04 Jun 2008 18:02:21 -0700 (PDT)
From: Octave Orgeron <unixconsole@yahoo.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
To: James Carlson <james.d.carlson@sun.com>, Ceri Davies <ceri@submonkey.net>
Cc: "Mark A. Carlson" <Mark.Carlson@sun.com>, lsarc-ext@sun.com,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>
Message-id: <357096.4916.qm@web30804.mail.mud.yahoo.com>
MIME-version: 1.0
X-Mailer: YahooMailRC/975.42 YahooMailWebService/0.7.199
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.com;
 h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
 b=iPQeCxF+JayIc8T07arpT/xaIxEt+kwq/y+PNOEh0agHreTCQazz+5gp2kox16HZfemvhFrgYRn/FtMpyTrICV9Ha1VSoONtuvVf7QNw1etub1dRYDlq2zaiH00wgDB0Lb93K7o+pTvcQzPdWZZRtn9u2bcxQJ28t+VnCemX4K0=;
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.076sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Length: 1457
Status: RO
X-Status: $$$$
X-UID: 0000000016

I am a bit concerned about having logrotate and logadm in our OS. It could cause conflicts and become a headache for large enterprise environments. Can you forward the info on this request to the sysadmin-discuss forum? I think feedback from that venue would be useful.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole@yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: James Carlson <james.d.carlson@sun.com>
To: Ceri Davies <ceri@submonkey.net>
Cc: Mark A. Carlson <Mark.Carlson@sun.com>; lsarc-ext@sun.com; Dean Roehrich <dr161460@sac.sfbay.sun.com>
Sent: Wednesday, June 4, 2008 7:46:41 AM
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

Ceri Davies writes:
> Do Sun really intend to port every single command known to man just
> in case someone can't find it and "moves on" as a result?  Even given
> recent events, I don't think that's true.

Not those known to man, just those known to Linuxman.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org



      

From Jyri.Virkki@Sun.COM Wed Jun  4 21:22:00 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m554LxKm027574
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 21:21:59 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m554LsCq018932;
	Thu, 5 Jun 2008 12:21:56 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00F032SIRH00@nwk-avmta-2.sfbay.sun.com>; Wed,
 04 Jun 2008 21:21:54 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z008ID2SH4590@nwk-avmta-2.sfbay.sun.com>; Wed,
 04 Jun 2008 21:21:53 -0700 (PDT)
Received: from dm-usca19-13.red.iplanet.com
 (host-179-56-18-192.iplanet.com [192.18.56.179] (may be forged))
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m554LrB7022570; Thu,
 05 Jun 2008 04:21:53 +0000 (GMT)
Received: from buye.red.iplanet.com (buye [192.18.65.224])
	by dm-usca19-13.red.iplanet.com (8.11.7p1+Sun/8.11.7/IPLANET,v1.2)
 with ESMTP id m554Lrs08170; Wed, 04 Jun 2008 21:21:53 -0700 (PDT)
Received: from buye.red.iplanet.com (localhost [127.0.0.1])
	by buye.red.iplanet.com (8.13.7+Sun/8.13.7) with ESMTP id m554LrZw009440; Wed,
 04 Jun 2008 21:21:53 -0700 (PDT)
Received: (from jyri@localhost)
	by buye.red.iplanet.com (8.13.7+Sun/8.13.7/Submit) id m554Lqkv009439; Wed,
 04 Jun 2008 21:21:52 -0700 (PDT)
Date: Wed, 04 Jun 2008 21:21:52 -0700
From: Jyri Virkki <Jyri.Virkki@Sun.COM>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <alpine.GSO.1.10.0806031516340.11580@grimmy>
To: lsarc-ext@Sun.COM, Dean.Roehrich@Sun.COM
Message-id: <20080605042152.GL8519@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
User-Agent: Mutt/1.5.11
Content-Length: 1148
Status: RO
X-Status: $$$$
X-UID: 0000000017

Randy Fishel wrote:
>
>   It would apply if the tool in question conflicted with an existing 
> tool, and I believe a conflict exists (it could well be that both 
> tools will be asked to rotate the same logfile).  So it is the 
> responsibility of the project team to describe or document the 
> interaction between logadm(1m), and logrotate.

Having read the thread, I'm still somewhat concerned about the above.

I see the scenario being
- Linux-experienced admin (doesn't know about logadm) sees logrotate,
  pkg install-s it.
- Already knows how to use it so goes ahead and sets it up (doesn't need
  to read the manpage)
- Now the two log managers fight for the same files, possibly.

I see the package includes a /etc/logrotate.conf file.

Since that's one place the admin would have to look if they use this,
how about adding commentary in that file pointing out that logadm is
the built-in log manager in OpenSolaris and it's active by default, so
if you choose to configure and enable logrotate, be sure to either
disable logadm or make sure they don't manage the same files.


-- 
Jyri J. Virkki - jyri.virkki@sun.com - Sun Microsystems

From Nicolas.Williams@Sun.COM Wed Jun  4 21:25:34 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m554PXHm027612
	for <LSARC-ext@sac.sfbay.sun.com>; Wed, 4 Jun 2008 21:25:34 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m554PCdN019765;
	Thu, 5 Jun 2008 12:25:31 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z000012YGNY00@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 04 Jun 2008 21:25:28 -0700 (PDT)
Received: from binky.Central.Sun.COM ([129.153.128.104])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00GF52YGP3C0@nwk-avmta-1.sfbay.Sun.COM>; Wed,
 04 Jun 2008 21:25:28 -0700 (PDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1) with ESMTP id m554PRxG007653;
 Wed, 04 Jun 2008 23:25:27 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1/Submit) id m554PRMm007652; Wed,
 04 Jun 2008 23:25:27 -0500 (CDT)
Date: Wed, 04 Jun 2008 23:25:27 -0500
From: Nicolas Williams <Nicolas.Williams@Sun.COM>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605042152.GL8519@sun.com>
To: Jyri Virkki <Jyri.Virkki@Sun.COM>
Cc: lsarc-ext@Sun.COM, Dean.Roehrich@Sun.COM
Message-id: <20080605042527.GC2735@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com>
X-Authentication-warning: binky.Central.Sun.COM: nw141292 set sender to
 Nicolas.Williams@sun.com using -f
User-Agent: Mutt/1.5.7i
Content-Length: 952
Status: RO
X-Status: $$$$
X-UID: 0000000018

On Wed, Jun 04, 2008 at 09:21:52PM -0700, Jyri Virkki wrote:
> Having read the thread, I'm still somewhat concerned about the above.
> 
> I see the scenario being
> - Linux-experienced admin (doesn't know about logadm) sees logrotate,
>   pkg install-s it.
> - Already knows how to use it so goes ahead and sets it up (doesn't need
>   to read the manpage)

"Sets it up" -> edit root's crontab?

If so they'll find a logadm job there already.

> I see the package includes a /etc/logrotate.conf file.
> 
> Since that's one place the admin would have to look if they use this,
> how about adding commentary in that file pointing out that logadm is
> the built-in log manager in OpenSolaris and it's active by default, so
> if you choose to configure and enable logrotate, be sure to either
> disable logadm or make sure they don't manage the same files.

Sounds good to me.  Maybe also a comment in crontab, but, I think that's
stretching things a bit.

From Joerg.Schilling@fokus.fraunhofer.de Thu Jun  5 02:30:25 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m559UOei012262
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 02:30:24 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m559UALK024554;
	Thu, 5 Jun 2008 10:30:21 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00601H2JZK00@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 02:30:19 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z0008JH2ID7A0@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 02:30:18 -0700 (PDT)
Received: from relay14i.sun.com
 (ip124.net129179-4.block1.us.syntegra.com [129.179.4.124])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m559SjWM005638;
 Thu, 05 Jun 2008 09:30:18 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay14i.sun.com with ESMTP id BT-MMP-360567; Thu,
 05 Jun 2008 09:30:17 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-24487045; Thu,
 05 Jun 2008 09:30:17 +0000 (Z)
Received: from mailgw1.fraunhofer.de ([153.96.1.17] [153.96.1.17])
 by relay1i.sun.com with ESMTP id BT-MMP-4924674; Thu,
 05 Jun 2008 09:30:17 +0000 (Z)
Received: from mailgw1.fraunhofer.de (localhost [127.0.0.1])
	by mailgw1.fraunhofer.de[host mailgw26] (8.14.2+/8.14.2)
 with ESMTP id m559MiBK029429; Thu, 05 Jun 2008 11:22:44 +0200 (CEST)
Received: from pluto.fokus.fraunhofer.de
 (pluto.fokus.fraunhofer.de [195.37.77.164])
	by mailgw1.fraunhofer.de (8.14.2+/8.14.2) with ESMTP id m559MhAS029422
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu,
 05 Jun 2008 11:22:44 +0200 (CEST)
Received: from EXCHSRV.fokus.fraunhofer.de (bohr [10.147.9.231])
	by pluto.fokus.fraunhofer.de (8.13.7/8.13.7) with SMTP id m559MgRF016295; Thu,
 05 Jun 2008 11:22:42 +0200 (MEST)
Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with
 Microsoft SMTPSVC(6.0.3790.3959); Thu, 05 Jun 2008 11:22:42 +0200
Date: Thu, 05 Jun 2008 11:22:42 +0200
From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <25AD11E3-0FB6-4FB5-91AF-1ABB0EACE188@elemental.org>
To: james.d.carlson@sun.com, daleg@elemental.org
Cc: Mark.Carlson@sun.com, lsarc-ext@sun.com, dr161460@sac.sfbay.sun.com
Message-id: <4847b062.Ui8LILclcv3qXHq+%Joerg.Schilling@fokus.fraunhofer.de>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Fraunhofer-Email-Policy: accepted
X-Antispam: No, score=0.0/5.0, scanned in 0.131sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <20080604090736.GI10783@submonkey.net>
 <18502.36529.570663.96784@gargle.gargle.HOWL>
 <25AD11E3-0FB6-4FB5-91AF-1ABB0EACE188@elemental.org>
User-Agent: nail 11.22 3/20/05
X-OriginalArrivalTime: 05 Jun 2008 09:22:42.0662 (UTC)
 FILETIME=[B5052060:01C8C6ED]
Content-Length: 719
Status: RO
X-Status: $$$$
X-UID: 0000000019

Dale Ghent <daleg@elemental.org> wrote:

> > Not those known to man, just those known to Linuxman.
>
> So then where's the line being drawn? Would you duplicate Linux's / 
> proc so the Linuxman doesn't have to bother with learning ndd or kstat?
>
> If someone wants to boot Solaris, they should learn that there are  
> some differences.

+1

It does not make sense to take every even bad decision from the Linux camp.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

From carlsonj@phorcys.east.sun.com Thu Jun  5 04:24:13 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55BOCfP014790
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 04:24:12 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m55BO0X2013141;
	Thu, 5 Jun 2008 12:24:09 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00C03MC65X00@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 04:24:06 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BPUMC5IN00@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 04:24:06 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m55BO5dW016371; Thu,
 05 Jun 2008 07:24:05 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m55BO50N016368; Thu,
 05 Jun 2008 07:24:05 -0400 (EDT)
Date: Thu, 05 Jun 2008 07:24:05 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605042527.GC2735@Sun.COM>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: Jyri Virkki <Jyri.Virkki@sun.com>, Dean.Roehrich@sun.com,
        lsarc-ext@sun.com
Message-id: <18503.52437.313130.995571@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
Content-Length: 805
Status: RO
X-Status: $$$$
X-UID: 0000000020

Nicolas Williams writes:
> On Wed, Jun 04, 2008 at 09:21:52PM -0700, Jyri Virkki wrote:
> > Having read the thread, I'm still somewhat concerned about the above.
> > 
> > I see the scenario being
> > - Linux-experienced admin (doesn't know about logadm) sees logrotate,
> >   pkg install-s it.
> > - Already knows how to use it so goes ahead and sets it up (doesn't need
> >   to read the manpage)
> 
> "Sets it up" -> edit root's crontab?

Do you mean to say that installing the package doesn't automatically
do that, so the software is usable out of the box?  That'd be a shame.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From ceri@submonkey.net Thu Jun  5 08:24:31 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FOTiu020799
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:24:31 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m55FOMLq008293
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 23:24:28 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00L2JXGQCG00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 08:24:26 -0700 (PDT)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BCBXGPIOF0@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 08:24:25 -0700 (PDT)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m55F6FdL014261	for
 <lsarc-ext@sun.com>; Thu, 05 Jun 2008 15:24:25 +0000 (GMT)
Received: from mmp12es.mmp.us.syntegra.com ([160.41.208.12] [160.41.208.12])
 by relay13i.sun.com with ESMTP id BT-MMP-375017 for lsarc-ext@sun.com; Thu,
 05 Jun 2008 15:24:21 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp12es.mmp.us.syntegra.com with ESMTP id BT-MMP-16387658 for
 lsarc-ext@sun.com; Thu, 05 Jun 2008 15:24:19 +0000 (Z)
Received: from shrike.submonkey.net ([82.15.31.38] [82.15.31.38])
 by relay1i.sun.com with ESMTP id BT-MMP-5082892 for lsarc-ext@sun.com; Thu,
 05 Jun 2008 15:24:19 +0000 (Z)
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1K4HJw-0005xD-Ed; Thu,
 05 Jun 2008 16:24:08 +0100
Date: Thu, 05 Jun 2008 16:24:08 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <18503.52437.313130.995571@gargle.gargle.HOWL>
Sender: Ceri Davies <ceri@submonkey.net>
To: James Carlson <james.d.carlson@sun.com>
Cc: Nicolas Williams <Nicolas.Williams@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <20080605152408.GA98925@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=T4sUOijqQbZv57TR
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 1.447sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
User-Agent: Mutt/1.5.17 (2007-11-01)
Content-Length: 1415
Status: RO
X-Status: $$$$
X-UID: 0000000021


--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 05, 2008 at 07:24:05AM -0400, James Carlson wrote:
> Nicolas Williams writes:
> > On Wed, Jun 04, 2008 at 09:21:52PM -0700, Jyri Virkki wrote:
> > > Having read the thread, I'm still somewhat concerned about the above.
> > >=20
> > > I see the scenario being
> > > - Linux-experienced admin (doesn't know about logadm) sees logrotate,
> > >   pkg install-s it.
> > > - Already knows how to use it so goes ahead and sets it up (doesn't n=
eed
> > >   to read the manpage)
> >=20
> > "Sets it up" -> edit root's crontab?
>=20
> Do you mean to say that installing the package doesn't automatically
> do that, so the software is usable out of the box?  That'd be a shame.

I'm not sure how the packager would have any idea what logs I might be
interested in rotating.  I don't expect installing the StarOffice
packages to update my CV for me :)

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFISAUYocfcwTS3JF8RAstcAJ9jYqhM1eDifPDSHH8U1iaritlIMwCfckr3
zRcqrgvlGUpelXXf3OeUfRo=
=4ij8
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--

From Alan.Coopersmith@sun.com Thu Jun  5 08:33:49 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FXmgC020953
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:33:48 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m55FXWjv011732
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 23:33:47 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00L12XW7MI00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 08:33:44 -0700 (PDT)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BXTXW7IRE0@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 08:33:43 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m55FXhog013972	for
 <lsarc-ext@sun.com>; Thu, 05 Jun 2008 08:33:43 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K1Z00J01XIXKW00@fe-sfbay-10.sun.com>
 (original mail from Alan.Coopersmith@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 08:33:43 -0700 (PDT)
Received: from [10.6.102.118] by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0K1Z00JBGXW1VTA0@fe-sfbay-10.sun.com>; Thu,
 05 Jun 2008 08:33:38 -0700 (PDT)
Date: Thu, 05 Jun 2008 08:33:37 -0700
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
Sender: Alan.Coopersmith@sun.com
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Message-id: <48480751.1080005@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Enigmail-Version: 0.95.1
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20071119)
Content-Length: 453
Status: RO
X-Status: $$$$
X-UID: 0000000022

Since the top-level goal is familiarity, and code sharing is a
lower level goal, behind making OpenSolaris a well-working system,
would this case be better served by making the logrotate administrative
interfaces (which may be just vi /etc/logrotate.conf) work to control
the existing logadm system to prevent conflicts between the two?

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


From Nicolas.Williams@sun.com Thu Jun  5 08:41:36 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55Ffa4W020985
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:41:36 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55FfTqv044383;
	Thu, 5 Jun 2008 09:41:35 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00417Y998N00@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 05 Jun 2008 08:41:33 -0700 (PDT)
Received: from binky.Central.Sun.COM ([129.153.128.104])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00LOCY90NV70@nwk-avmta-1.sfbay.Sun.COM>; Thu,
 05 Jun 2008 08:41:25 -0700 (PDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1) with ESMTP id m55FfOAF007900;
 Thu, 05 Jun 2008 10:41:24 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.1+Sun/8.14.1/Submit) id m55FfNAY007899; Thu,
 05 Jun 2008 10:41:23 -0500 (CDT)
Date: Thu, 05 Jun 2008 10:41:23 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605152408.GA98925@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: James Carlson <James.D.Carlson@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <20080605154123.GH2735@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net>
X-Authentication-warning: binky.Central.Sun.COM: nw141292 set sender to
 Nicolas.Williams@sun.com using -f
User-Agent: Mutt/1.5.7i
Content-Length: 1246
Status: RO
X-Status: $$$$
X-UID: 0000000023

On Thu, Jun 05, 2008 at 04:24:08PM +0100, Ceri Davies wrote:
> On Thu, Jun 05, 2008 at 07:24:05AM -0400, James Carlson wrote:
> > Nicolas Williams writes:
> > > On Wed, Jun 04, 2008 at 09:21:52PM -0700, Jyri Virkki wrote:
> > > > - Already knows how to use it so goes ahead and sets it up (doesn't need
> > > >   to read the manpage)
> > > 
> > > "Sets it up" -> edit root's crontab?
> > 
> > Do you mean to say that installing the package doesn't automatically
> > do that, so the software is usable out of the box?  That'd be a shame.

How can the package know what times I want logrotate to run at?  (Yes, I
know, the same applies to logadm, which runs at 3:10AM every day.)

The audit system is more dynamic than this, and I must say I prefer that
approach.

> I'm not sure how the packager would have any idea what logs I might be
> interested in rotating.  I don't expect installing the StarOffice
> packages to update my CV for me :)

Presumably it would install a config file that rotates no logs but still
install the cronjob.

So then I think we want a warning about logadm in the logrotate config
file and in the logrotate manpage.  Perhaps a warning about logrotate in
logadm's manpage and /etc/logadm.conf would also be appropriate.

From carlsonj@phorcys.east.sun.com Thu Jun  5 08:47:38 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FlcVB021023
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:47:38 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55Flb9U046280;
	Thu, 5 Jun 2008 09:47:37 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00E0BYJA1G00@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:47:34 -0600 (MDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BWNYJ8IH20@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:47:32 -0600 (MDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m55Fe27e009296; Thu,
 05 Jun 2008 11:40:02 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m55Fe2ek009293; Thu,
 05 Jun 2008 11:40:02 -0400 (EDT)
Date: Thu, 05 Jun 2008 11:40:02 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605152408.GA98925@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: Nicolas Williams <Nicolas.Williams@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <18504.2258.444216.307116@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net>
Content-Length: 1012
Status: RO
X-Status: $$$$
X-UID: 0000000024

Ceri Davies writes:
> On Thu, Jun 05, 2008 at 07:24:05AM -0400, James Carlson wrote:
> > Nicolas Williams writes:
> > > "Sets it up" -> edit root's crontab?
> > 
> > Do you mean to say that installing the package doesn't automatically
> > do that, so the software is usable out of the box?  That'd be a shame.
> 
> I'm not sure how the packager would have any idea what logs I might be
> interested in rotating.  I don't expect installing the StarOffice
> packages to update my CV for me :)

I don't quite understand.  What does /etc/logrotate.conf do if it
doesn't specify the list of files to be rotated (just like the
existing /etc/logadm.conf)?

Why would the user have to specify the rotation of log files in both
the crontab entry and in the logrotate.conf configuration file ... ?

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From ceri@submonkey.net Thu Jun  5 08:51:26 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FpPuW021104
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:51:26 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m55FosCo016551;
	Thu, 5 Jun 2008 23:51:21 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00E2UYPH9R00@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:51:17 -0600 (MDT)
Received: from sca-ea-mail-2.sun.com ([192.18.43.25])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BQEYPDIJ30@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:51:13 -0600 (MDT)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m55FpCXZ027680;
 Thu, 05 Jun 2008 15:51:12 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay15i.sun.com with ESMTP id BT-MMP-376208; Thu,
 05 Jun 2008 15:51:12 +0000 (Z)
Received: from relay16i.sun.com (relay16i.sun.com [129.179.4.126])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-25071850; Thu,
 05 Jun 2008 15:51:11 +0000 (Z)
Received: from shrike.submonkey.net ([82.15.31.38] [82.15.31.38])
 by relay1i.sun.com with ESMTP id BT-MMP-5146823; Thu,
 05 Jun 2008 15:51:11 +0000 (Z)
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1K4Hk5-000E79-21; Thu,
 05 Jun 2008 16:51:09 +0100
Date: Thu, 05 Jun 2008 16:51:08 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605154123.GH2735@Sun.COM>
Sender: Ceri Davies <ceri@submonkey.net>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: James Carlson <James.D.Carlson@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <20080605155108.GB98925@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary=JYK4vJDZwFMowpUq
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.349sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
User-Agent: Mutt/1.5.17 (2007-11-01)
Content-Length: 1993
Status: RO
X-Status: $$$$
X-UID: 0000000025


--JYK4vJDZwFMowpUq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 05, 2008 at 10:41:23AM -0500, Nicolas Williams wrote:
> On Thu, Jun 05, 2008 at 04:24:08PM +0100, Ceri Davies wrote:
> > On Thu, Jun 05, 2008 at 07:24:05AM -0400, James Carlson wrote:
> > > Nicolas Williams writes:
> > > > On Wed, Jun 04, 2008 at 09:21:52PM -0700, Jyri Virkki wrote:
> > > > > - Already knows how to use it so goes ahead and sets it up (doesn=
't need
> > > > >   to read the manpage)
> > > >=20
> > > > "Sets it up" -> edit root's crontab?
> > >=20
> > > Do you mean to say that installing the package doesn't automatically
> > > do that, so the software is usable out of the box?  That'd be a shame.
>=20
> > I'm not sure how the packager would have any idea what logs I might be
> > interested in rotating.  I don't expect installing the StarOffice
> > packages to update my CV for me :)
>=20
> Presumably it would install a config file that rotates no logs but still
> install the cronjob.

How often might we run this superfluous and pointless process, pray
tell?  My logs may need rotating every ten minutes, someone else's not
so often.  Again, there is no way for the packager to tell.

The difference with the default logadm entries is they actually usefully
do stuff right now; unless there are new log files created that
logrotate can make itself useful with by default (and I feel that would be
an exercise in futility), I object to the periodic running of a cron job
that will do nothing.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--JYK4vJDZwFMowpUq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFISAtsocfcwTS3JF8RAk0hAJ9bkuVAUwZWUOVTlMGCPYn9h84NzwCfVlr8
udbx7mAIkmBQaBN9Iddak4c=
=Rh4F
-----END PGP SIGNATURE-----

--JYK4vJDZwFMowpUq--

From ceri@submonkey.net Thu Jun  5 08:51:55 2008
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FptbG021118
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:51:55 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55FpsCx015701
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 08:51:54 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00501YQI9700@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@Sun.COM); Thu, 05 Jun 2008 08:51:54 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00LL5YQGNX70@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@Sun.COM); Thu,
 05 Jun 2008 08:51:52 -0700 (PDT)
Received: from relay44i.sun.com ([192.5.209.118])
	by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m55Fnvcr014961	for
 <lsarc-ext@Sun.COM>; Thu, 05 Jun 2008 15:51:52 +0000 (GMT)
Received: from mms48es.mms.us.syntegra.com ([160.41.221.230] [160.41.221.230])
 by relay44i.sun.com with ESMTP id BT-MMP-307596 for lsarc-ext@Sun.COM; Thu,
 05 Jun 2008 15:51:52 +0000 (Z)
Received: from relay44i.sun.com (relay44i.sun.com [192.5.209.118])
 by mms48es.mms.us.syntegra.com with ESMTP id BT-MMP-15961424 for
 lsarc-ext@Sun.COM; Thu, 05 Jun 2008 15:51:51 +0000 (Z)
Received: from shrike.submonkey.net ([82.15.31.38] [82.15.31.38])
 by relay4i.sun.com with ESMTP id BT-MMP-11733977 for lsarc-ext@Sun.COM; Thu,
 05 Jun 2008 15:51:51 +0000 (Z)
Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <ceri@submonkey.net>)	id 1K4Hki-000G4i-8y; Thu,
 05 Jun 2008 16:51:48 +0100
Date: Thu, 05 Jun 2008 16:51:48 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <18504.2258.444216.307116@gargle.gargle.HOWL>
Sender: Ceri Davies <ceri@submonkey.net>
To: James Carlson <james.d.carlson@sun.com>
Cc: Nicolas Williams <Nicolas.Williams@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <20080605155148.GC98925@submonkey.net>
MIME-version: 1.0
Content-type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum"
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-PGP: finger ceri@FreeBSD.org
X-Antispam: No, score=0.0/5.0, scanned in 0.120sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net>
 <18504.2258.444216.307116@gargle.gargle.HOWL>
User-Agent: Mutt/1.5.17 (2007-11-01)
Content-Length: 1480
Status: RO
X-Status: $$$$
X-UID: 0000000026


--hYooF8G/hrfVAmum
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 05, 2008 at 11:40:02AM -0400, James Carlson wrote:
> Ceri Davies writes:
> > On Thu, Jun 05, 2008 at 07:24:05AM -0400, James Carlson wrote:
> > > Nicolas Williams writes:
> > > > "Sets it up" -> edit root's crontab?
> > >=20
> > > Do you mean to say that installing the package doesn't automatically
> > > do that, so the software is usable out of the box?  That'd be a shame.
> >=20
> > I'm not sure how the packager would have any idea what logs I might be
> > interested in rotating.  I don't expect installing the StarOffice
> > packages to update my CV for me :)
>=20
> I don't quite understand.  What does /etc/logrotate.conf do if it
> doesn't specify the list of files to be rotated (just like the
> existing /etc/logadm.conf)?
>=20
> Why would the user have to specify the rotation of log files in both
> the crontab entry and in the logrotate.conf configuration file ... ?

See my reply to Nico.

Ceri
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--hYooF8G/hrfVAmum
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFISAuUocfcwTS3JF8RAkd2AJ9Ke785qTuuhDq9FktWvK7c52iLgACeJLzC
vrREZLEwcySypDvuirOK2mE=
=fdCb
-----END PGP SIGNATURE-----

--hYooF8G/hrfVAmum--

From carlsonj@phorcys.east.sun.com Thu Jun  5 08:54:21 2008
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FsL39021411
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:54:21 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55FsI4Z016368;
	Thu, 5 Jun 2008 08:54:20 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00E1HYUHGH00@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:54:17 -0600 (MDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00BOEYUEII20@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 09:54:14 -0600 (MDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m55FkjGf009357; Thu,
 05 Jun 2008 11:46:45 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m55FkivG009354; Thu,
 05 Jun 2008 11:46:44 -0400 (EDT)
Date: Thu, 05 Jun 2008 11:46:44 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605154123.GH2735@Sun.COM>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: Ceri Davies <ceri@submonkey.net>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <18504.2660.924491.989150@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
Content-Length: 544
Status: RO
X-Status: $$$$
X-UID: 0000000027

Nicolas Williams writes:
> > I'm not sure how the packager would have any idea what logs I might be
> > interested in rotating.  I don't expect installing the StarOffice
> > packages to update my CV for me :)
> 
> Presumably it would install a config file that rotates no logs but still
> install the cronjob.

Exactly.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From Alan.Coopersmith@sun.com Thu Jun  5 08:58:20 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55FwKxf021486
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 08:58:20 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55FwFwi049937
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Thu, 5 Jun 2008 09:58:20 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K1Z00519Z16TX00@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 08:58:18 -0700 (PDT)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K1Z00L65Z15NX80@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 08:58:17 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m55FwHaw016956	for
 <lsarc-ext@sun.com>; Thu, 05 Jun 2008 08:58:17 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K1Z00001Y8RIF00@fe-sfbay-10.sun.com>
 (original mail from Alan.Coopersmith@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 08:58:17 -0700 (PDT)
Received: from [10.6.102.118] by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0K1Z00C3FZ12J850@fe-sfbay-10.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 08:58:14 -0700 (PDT)
Date: Thu, 05 Jun 2008 08:58:14 -0700
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <18504.2660.924491.989150@gargle.gargle.HOWL>
Sender: Alan.Coopersmith@sun.com
To: James Carlson <james.d.carlson@sun.com>
Cc: Nicolas Williams <Nicolas.Williams@sun.com>,
        Ceri Davies <ceri@submonkey.net>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <48480D16.8080604@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Enigmail-Version: 0.95.1
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
 <18504.2660.924491.989150@gargle.gargle.HOWL>
User-Agent: Thunderbird 2.0.0.6 (X11/20071119)
Content-Length: 790
Status: RO
X-Status: $$$$
X-UID: 0000000028

James Carlson wrote:
> Nicolas Williams writes:
>>> I'm not sure how the packager would have any idea what logs I might be
>>> interested in rotating.  I don't expect installing the StarOffice
>>> packages to update my CV for me :)
>> Presumably it would install a config file that rotates no logs but still
>> install the cronjob.
> 
> Exactly.

Make a note for the IPS review to ask how a package can install
cronjobs with no scripting (time for the occasionally discussed
migration of cron jobs to SMF?   adopting a cron.d model, which
I believe some Linuxes use to simplify package installation of
cronjobs without scripting?).    Of course, that is Not This Case (tm).

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


From carlsonj@phorcys.east.sun.com Thu Jun  5 09:21:15 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55GLFfV022868
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 09:21:15 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m55GLB4s022061;
	Thu, 5 Jun 2008 09:21:14 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K200000F03D1600@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 09:21:13 -0700 (PDT)
Received: from phorcys.east.sun.com ([129.148.174.143])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K2000MNS03BUY00@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 09:21:11 -0700 (PDT)
Received: from phorcys.east.sun.com (localhost [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id m55GDfWb009555; Thu,
 05 Jun 2008 12:13:41 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id m55GDfmf009552; Thu,
 05 Jun 2008 12:13:41 -0400 (EDT)
Date: Thu, 05 Jun 2008 12:13:41 -0400
From: James Carlson <james.d.carlson@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605155108.GB98925@submonkey.net>
To: Ceri Davies <ceri@submonkey.net>
Cc: Nicolas Williams <Nicolas.Williams@sun.com>, Dean.Roehrich@sun.com,
        Jyri Virkki <Jyri.Virkki@sun.com>, lsarc-ext@sun.com
Message-id: <18504.4277.235862.668360@gargle.gargle.HOWL>
MIME-version: 1.0
X-Mailer: VM 7.01 under Emacs 21.3.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
 <20080605155108.GB98925@submonkey.net>
Content-Length: 1123
Status: RO
X-Status: $$$$
X-UID: 0000000029

Ceri Davies writes:
> How often might we run this superfluous and pointless process, pray
> tell?  My logs may need rotating every ten minutes, someone else's not
> so often.  Again, there is no way for the packager to tell.

I'd make it once per day, exactly like logadm.

> The difference with the default logadm entries is they actually usefully
> do stuff right now; unless there are new log files created that
> logrotate can make itself useful with by default (and I feel that would be
> an exercise in futility), I object to the periodic running of a cron job
> that will do nothing.

Simple: if you don't want this optional package, then don't install
it.

I suspect what you're really saying is that (for SXCE and however long
*that* survives with the old installer) you don't want to see this in
your favorite metacluster.  I'd agree with that.  It probably
shouldn't even be in SUNWCall.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From roehrich@kickball-mn.Central.Sun.COM Thu Jun  5 10:23:03 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m55HN2co025426
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 10:23:03 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m55HMvcA024822
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 6 Jun 2008 01:23:01 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2000K072YAVD00@brm-avmta-1.central.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 11:22:58 -0600 (MDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K2000B762YAIIA0@brm-avmta-1.central.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 11:22:58 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM
 (kickball-mn.Central.Sun.COM [10.1.170.217])	by dm-central-02.central.sun.com
 (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m55HMu1L008418; Thu,
 05 Jun 2008 11:22:57 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM (localhost [127.0.0.1])
	by kickball-mn.Central.Sun.COM (8.13.6+Sun/8.13.6)
 with ESMTP id m55HMuJ2022870; Thu, 05 Jun 2008 12:22:56 -0500 (CDT)
Received: (from roehrich@localhost)	by kickball-mn.Central.Sun.COM
 (8.13.6+Sun/8.13.6/Submit) id m55HMuwo022869; Thu,
 05 Jun 2008 12:22:56 -0500 (CDT)
Date: Thu, 05 Jun 2008 12:22:56 -0500
From: Dean Roehrich <Dean.Roehrich@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <48480D16.8080604@sun.com>
To: Alan Coopersmith <Alan.Coopersmith@sun.com>
Cc: James Carlson <James.D.Carlson@sun.com>,
        Nicolas Williams <Nicolas.Williams@sun.com>,
        Ceri Davies <ceri@submonkey.net>, Jyri Virkki <Jyri.Virkki@sun.com>,
        lsarc-ext@sun.com
Message-id: <20080605172256.GA22771@kickball-mn.Central.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <440055.73181.qm@web30803.mail.mud.yahoo.com>
 <4845B754.8050408@sun.com> <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
 <18504.2660.924491.989150@gargle.gargle.HOWL> <48480D16.8080604@sun.com>
User-Agent: Mutt/1.5.9i
Content-Length: 1223
Status: RO
X-Status: $$$$
X-UID: 0000000030

On Thu, Jun 05, 2008 at 08:58:14AM -0700, Alan Coopersmith wrote:
> James Carlson wrote:
> > Nicolas Williams writes:
> >>> I'm not sure how the packager would have any idea what logs I might be
> >>> interested in rotating.  I don't expect installing the StarOffice
> >>> packages to update my CV for me :)
> >> Presumably it would install a config file that rotates no logs but still
> >> install the cronjob.
> > 
> > Exactly.
> 
> Make a note for the IPS review to ask how a package can install
> cronjobs with no scripting (time for the occasionally discussed
> migration of cron jobs to SMF?   adopting a cron.d model, which
> I believe some Linuxes use to simplify package installation of
> cronjobs without scripting?).    Of course, that is Not This Case (tm).

The two issues remaining to be addressed in this case are:

1) Some note linking logadm(1m) to logrotate(1m).  We chose Nico's
recommendation from mid-day yesterday to update the SEE ALSO section in
logrotate(1m).

2) The cron entry.  At the moment, we're going to take Alan's note as a
recommendation that we should leave it alone.

(I subscribed to the lsarc list a few days before I opened the case, and I
thought, "where is everyone?"  Heh.)

Dean

From Jyri.Virkki@sun.com Thu Jun  5 17:49:26 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m560nQpd006743
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 17:49:26 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m560nPpO026804;
	Thu, 5 Jun 2008 17:49:25 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2000805NMDF300@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 18:49:25 -0600 (MDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K20002OXNMBQJ30@brm-avmta-1.central.sun.com>; Thu,
 05 Jun 2008 18:49:23 -0600 (MDT)
Received: from dm-usca19-13.red.iplanet.com
 (host-179-56-18-192.iplanet.com [192.18.56.179] (may be forged))
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m560nD6E012950; Fri,
 06 Jun 2008 00:49:13 +0000 (GMT)
Received: from buye.red.iplanet.com (buye [192.18.65.224])
	by dm-usca19-13.red.iplanet.com (8.11.7p1+Sun/8.11.7/IPLANET,v1.2)
 with ESMTP id m560nCs05315; Thu, 05 Jun 2008 17:49:12 -0700 (PDT)
Received: from buye.red.iplanet.com (localhost [127.0.0.1])
	by buye.red.iplanet.com (8.13.7+Sun/8.13.7) with ESMTP id m560nCIw013317; Thu,
 05 Jun 2008 17:49:12 -0700 (PDT)
Received: (from jyri@localhost)
	by buye.red.iplanet.com (8.13.7+Sun/8.13.7/Submit) id m560nC4L013316; Thu,
 05 Jun 2008 17:49:12 -0700 (PDT)
Date: Thu, 05 Jun 2008 17:49:12 -0700
From: Jyri Virkki <Jyri.Virkki@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080605172256.GA22771@kickball-mn.Central.Sun.COM>
To: Dean Roehrich <Dean.Roehrich@sun.com>
Cc: Ceri Davies <ceri@submonkey.net>, lsarc-ext@sun.com
Message-id: <20080606004912.GC12919@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <4845B754.8050408@sun.com>
 <alpine.GSO.1.10.0806031516340.11580@grimmy> <20080605042152.GL8519@sun.com>
 <20080605042527.GC2735@Sun.COM> <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
 <18504.2660.924491.989150@gargle.gargle.HOWL> <48480D16.8080604@sun.com>
 <20080605172256.GA22771@kickball-mn.Central.Sun.COM>
User-Agent: Mutt/1.5.11
Content-Length: 1271
Status: RO
X-Status: $$$$
X-UID: 0000000031

Dean Roehrich wrote:
>
> 
> The two issues remaining to be addressed in this case are:
> 
> 1) Some note linking logadm(1m) to logrotate(1m).  We chose Nico's
> recommendation from mid-day yesterday to update the SEE ALSO section in
> logrotate(1m).

I'm not holding the case up for it but I sure would like if it can
also include an explanatory comments in the distributed logrotate.conf.  

The main target user for the familiarity of logrotate is, well,
familiar with it already so they won't be reading the manpage so the
comment there will be missed.  

Which will in some cases lead to an annoyed customer and costly
support calls when they call Sun trying to figure out what mysterious
force is messing up with the log files that logrotate is handling.

If I was doing this case I'd add something like this to the top of the
config file (possibly spending some more time polishing the wording if
I was doing the putback..)


# Note: logadm(1M) is the default and recommended log rotation tool
# in OpenSolaris. By default it is being invoked from the crontab of root.
# If enabling logrotate, either avoid configuring it to manage the same 
# logfiles are logadm or disable logadm, to avoid conflicts.


-- 
Jyri J. Virkki - jyri.virkki@sun.com - Sun Microsystems

From unixconsole@yahoo.com Thu Jun  5 19:00:25 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m5620ONo008102
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 19:00:25 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m5620EnP017128
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 6 Jun 2008 03:00:23 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2000103QWKLD00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 19:00:20 -0700 (PDT)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K20000NSQWJ3E70@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 19:00:19 -0700 (PDT)
Received: from relay24.sun.com
 (relay24.sun.com [192.12.251.74] (may be forged))	by sca-ea-mail-1.sun.com
 (8.13.7+Sun/8.12.9) with ESMTP id m5620JWQ028132	for <lsarc-ext@sun.com>; Fri,
 06 Jun 2008 02:00:19 +0000 (GMT)
Received: from mms24es.mms.us.syntegra.com ([150.143.232.70] [150.143.232.70])
 by relay24i.sun.com with ESMTP id BT-MMP-585975 for lsarc-ext@sun.com; Fri,
 06 Jun 2008 02:00:19 +0000 (Z)
Received: from relay24.sun.com (relay24.sun.com [192.12.251.74])
 by mms24es.mms.us.syntegra.com with ESMTP id BT-MMP-17232968 for
 lsarc-ext@sun.com; Fri, 06 Jun 2008 02:00:18 +0000 (Z)
Received: from web30806.mail.mud.yahoo.com ([68.142.200.149] [68.142.200.149])
 by relay24i.sun.com id BT-MMP-21279354 for lsarc-ext@sun.com; Fri,
 06 Jun 2008 02:00:18 +0000 (Z)
Received: (qmail 85654 invoked by uid 60001); Fri, 06 Jun 2008 01:59:47 +0000
Received: from [71.52.80.224] by web30806.mail.mud.yahoo.com via HTTP; Thu,
 05 Jun 2008 18:59:47 -0700 (PDT)
Date: Thu, 05 Jun 2008 18:59:47 -0700 (PDT)
From: Octave Orgeron <unixconsole@yahoo.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
To: Alan Coopersmith <alan.coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>,
        sysadmin-discuss@opensolaris.org
Cc: lsarc-ext@sun.com
Message-id: <723379.85124.qm@web30806.mail.mud.yahoo.com>
MIME-version: 1.0
X-Mailer: YahooMailRC/975.42 YahooMailWebService/0.7.199
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.com;
 h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
 b=CqkoQ09NietJiqL4+hGnT5o+9oCsAKLY97O4/v9B0lV35t1RpOuWdxEyMvogzK/aBVs6Y/ZKIpGP3rBmFEv7GncIHuUYAX6jyckMQNtJR88CRNl5jg+q++aeNEGUncrw11szjF4WILeNHxdI6jnTHAXyJLw8zkr0bSg0+RhkhVo=;
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.094sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Length: 2653
Status: RO
X-Status: $$$$
X-UID: 0000000032

Speaking from an enterprise shop point-of-view, having two tools for the same thing in the systems management space is a mistake. It'll cause more confusion than *familiarity*. Logadm has been around since Solaris 9 and many shops make heavy use of it to manage system and application logs. Primary reason being that Sun supports logadm, it's stable, and the management of the software package is not on the customers head. While many shops used logrotate prior to Solaris 9, going back to it will be more of a headache than blessing. Realistically, each UNIX and Linux variant has it's own tools for this or none. For example, BSD has newsyslog, while AIX/HP-UX have no tool. Not a lot of consistency to begin with. My take is that one of the following has to happen:

1. We stick with logadm, forget logrotate, and perhaps enhance logadm?
2. We drop logadm and switch to logrotate.
3. Standardize on logadm and make it handle logrotate.conf syntax in addition to the logadm.conf syntax.
4. Standardize on logrotate and make it handle logadm.conf syntax in addition to the logrotate.conf syntax.

The point here is that when it comes to systems management, there has to be standardization. Otherwise, we end up with a system that can't be managed consistently across SA's, which is a bad thing. Having both tools will eventually lead to something crazy like.. logadm and logrotate colliding and rotating log files that contain important system or application data. This raises all sorts of flags on the data-corruption and audit radar for customers that care;)


 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole@yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: Alan Coopersmith <Alan.Coopersmith@sun.com>
To: Dean Roehrich <dr161460@sac.sfbay.sun.com>
Cc: lsarc-ext@sun.com
Sent: Thursday, June 5, 2008 10:33:37 AM
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

Since the top-level goal is familiarity, and code sharing is a
lower level goal, behind making OpenSolaris a well-working system,
would this case be better served by making the logrotate administrative
interfaces (which may be just vi /etc/logrotate.conf) work to control
the existing logadm system to prevent conflicts between the two?

-- 
    -Alan Coopersmith-          alan.coopersmith@sun.com
     Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org



      

From John.Plocher@sun.com Thu Jun  5 20:57:14 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m563vD1k009467
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 20:57:14 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m563v8Hs024756
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 6 Jun 2008 04:57:12 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2000701WBBL400@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Thu, 05 Jun 2008 20:57:11 -0700 (PDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K20006U2WBB8O00@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 20:57:11 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m563vBVP023197	for
 <lsarc-ext@sun.com>; Thu, 05 Jun 2008 20:57:11 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0K2000B01W2CWL00@fe-sfbay-10.sun.com>
 (original mail from John.Plocher@Sun.COM)
 for lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Thu,
 05 Jun 2008 20:57:11 -0700 (PDT)
Received: from [192.168.168.4] ([208.74.177.212])
 by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb
 28 2007)) with ESMTPSA id <0K20001BMWBABZD0@fe-sfbay-10.sun.com>; Thu,
 05 Jun 2008 20:57:11 -0700 (PDT)
Date: Thu, 05 Jun 2008 20:57:10 -0700
From: John Plocher <John.Plocher@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <723379.85124.qm@web30806.mail.mud.yahoo.com>
Sender: John.Plocher@sun.com
To: Octave Orgeron <unixconsole@yahoo.com>
Cc: Alan Coopersmith <Alan.Coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>,
        sysadmin-discuss@opensolaris.org, lsarc-ext@sun.com
Message-id: <4848B596.6030700@Sun.Com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <723379.85124.qm@web30806.mail.mud.yahoo.com>
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Content-Length: 1206
Status: RO
X-Status: $$$$
X-UID: 0000000033

Octave Orgeron wrote:
> 1. We stick with logadm, forget logrotate, and perhaps enhance logadm?
> 2. We drop logadm and switch to logrotate.
> 3. Standardize on logadm and make it handle logrotate.conf syntax in addition to the logadm.conf syntax.
> 4. Standardize on logrotate and make it handle logadm.conf syntax in addition to the logrotate.conf syntax.

and maybe

5.  Ship logadm as usual.  Put logrotate into the IPS non-core
     repo for people to pull if desired (with all the caveats and
     warning comments mentioned in this thread...), but ensure
     that it does not get installed by default.

The project team needs to consider why we need to invest
resources into putting this project into core opensolaris.
I haven't seen any rationale for /why/ we need this - and
being on a list somewhere isn't sufficient reason stop
using common sense...

As Richard says, logrotate does not seem to be one of those
"must have" things whose lack makes OpenSolaris unusable
compared to Ubuntu.  Yes, it /is/ a "nice to have" convenience,
and users will be glad that it is easily available and just
works on OpenSolaris.  But, IMO, it is just desert, and we
need to focus on the main course.

   -John

From benr@cuddletech.com Thu Jun  5 22:45:09 2008
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m565j87s011178
	for <LSARC-ext@sac.sfbay.sun.com>; Thu, 5 Jun 2008 22:45:08 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id m565j4G1004602;
	Fri, 6 Jun 2008 13:45:05 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2100C011B5S000@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 22:45:05 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K21006S41B48H30@nwk-avmta-2.sfbay.sun.com>; Thu,
 05 Jun 2008 22:45:05 -0700 (PDT)
Received: from relay22.sun.com
 (relay22.sun.com [192.12.251.34] (may be forged))	by brmea-mail-1.sun.com
 (8.13.6+Sun/8.12.9) with ESMTP id m565cgQY025648; Fri,
 06 Jun 2008 05:45:04 +0000 (GMT)
Received: from mms25es.mms.us.syntegra.com ([150.143.232.90] [150.143.232.90])
 by relay22i.sun.com with ESMTP id BT-MMP-592769; Fri,
 06 Jun 2008 05:45:04 +0000 (Z)
Received: from relay24.sun.com (relay24.sun.com [192.12.251.74])
 by mms25es.mms.us.syntegra.com with ESMTP id BT-MMP-17438357; Fri,
 06 Jun 2008 05:45:04 +0000 (Z)
Received: from smtp2.joyent.net ([8.12.32.84] [8.12.32.84])
 by relay24i.sun.com with ESMTP id BT-MMP-21533800; Fri,
 06 Jun 2008 05:45:04 +0000 (Z)
Received: from lappy.local (bigip_float [10.12.32.12])
	by smtp2.joyent.net (Postfix) with ESMTP id 83B1571D6; Thu,
 05 Jun 2008 22:41:43 -0700 (PDT)
Date: Thu, 05 Jun 2008 22:41:43 -0700
From: Ben Rockwood <benr@cuddletech.com>
Subject: Re: [sysadmin-discuss] logrotate [LSARC/2008/359 FastTrack timeout
 06/10/2008]
In-reply-to: <723379.85124.qm@web30806.mail.mud.yahoo.com>
To: Octave Orgeron <unixconsole@yahoo.com>
Cc: Alan Coopersmith <Alan.Coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>,
        sysadmin-discuss@opensolaris.org, lsarc-ext@sun.com
Message-id: <4848CE17.1040000@cuddletech.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.062sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <723379.85124.qm@web30806.mail.mud.yahoo.com>
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Content-Length: 1389
Status: RO
X-Status: $$$$
X-UID: 0000000034

Octave Orgeron wrote:
> The point here is that when it comes to systems management, there has to be standardization. Otherwise, we end up with a system that can't be managed consistently across SA's, which is a bad thing. Having both tools will eventually lead to something crazy like.. logadm and logrotate colliding and rotating log files that contain important system or application data. This raises all sorts of flags on the data-corruption and audit radar for customers that care;)
>   

I think the standardization is most important within an organization.  
Plenty of people don't use logadm because it is kinda funky.  logrotate 
is easier to use thanks to is config syntax.

Choice is good, but I agree that there should be a single "standard" 
toolchain.  I've always believed that IPS would drive us closer to 
standardization because the installed software set would continue to 
shrink as packages increasingly become available as remote package 
installations.

What do NOT want to see is default installations with redundant 
software.  There has always been wayyyyyyy too much duplication in 
Solaris, leading to obscene installation sizes.  Thus far the problem 
has gotten worse rather than better, but we'll see how it goes.

 From a tools perspective I'm far more concerned about a default shell 
with usable RBAC functionality than switching log rotators. :)

benr.


From opensolaris@fl1ger.de Fri Jun  6 00:35:46 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m567Zj0E013197
	for <LSARC-ext@sac.sfbay.sun.com>; Fri, 6 Jun 2008 00:35:46 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m567Zjvq014924;
	Fri, 6 Jun 2008 01:35:45 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2100H036FH1U00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 06 Jun 2008 00:35:41 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com ([192.18.43.22])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K210096C6FFVHF0@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 06 Jun 2008 00:35:40 -0700 (PDT)
Received: from relay24.sun.com
 (relay24.sun.com [192.12.251.74] (may be forged))	by sca-ea-mail-4.sun.com
 (8.13.6+Sun/8.12.9) with ESMTP id m567Q3x1007525; Fri,
 06 Jun 2008 07:35:39 +0000 (GMT)
Received: from mms24es.mms.us.syntegra.com ([150.143.232.70] [150.143.232.70])
 by relay24i.sun.com with ESMTP id BT-MMP-596906; Fri,
 06 Jun 2008 07:35:39 +0000 (Z)
Received: from relay21.sun.com (relay21.sun.com [192.12.251.24])
 by mms24es.mms.us.syntegra.com with ESMTP id BT-MMP-17562379; Fri,
 06 Jun 2008 07:35:38 +0000 (Z)
Received: from nox.guxx.net ([213.239.209.212] [213.239.209.212])
 by relay21i.sun.com with ESMTP id BT-MMP-21531411; Fri,
 06 Jun 2008 07:35:38 +0000 (Z)
Received: from [192.168.42.101] (p54AE30E5.dip0.t-ipconnect.de [84.174.48.229])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested)	by nox.guxx.net (Postfix)
 with ESMTP id C8AEA4EC003; Fri, 06 Jun 2008 09:35:36 +0200 (CEST)
Date: Fri, 06 Jun 2008 09:35:35 +0200
From: Ralf Weber <opensolaris@fl1ger.de>
Subject: Re: [sysadmin-discuss] logrotate [LSARC/2008/359 FastTrack timeout
 06/10/2008]
In-reply-to: <4848B596.6030700@Sun.Com>
To: John Plocher <John.Plocher@sun.com>, sysadmin-discuss@opensolaris.org
Cc: Octave Orgeron <unixconsole@yahoo.com>,
        Alan Coopersmith <Alan.Coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <770556D2-0CCA-4A68-8454-6D38EC806F47@fl1ger.de>
MIME-version: 1.0
X-Mailer: Apple Mail (2.924)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.546sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <723379.85124.qm@web30806.mail.mud.yahoo.com>
 <4848B596.6030700@Sun.Com>
Content-Length: 1468
Status: RO
X-Status: $$$$
X-UID: 0000000035

Moin!

On Jun 6, 2008, at 05:57 , John Plocher wrote:

> Octave Orgeron wrote:
>> 1. We stick with logadm, forget logrotate, and perhaps enhance  
>> logadm?
>> 2. We drop logadm and switch to logrotate.
>> 3. Standardize on logadm and make it handle logrotate.conf syntax  
>> in addition to the logadm.conf syntax.
>> 4. Standardize on logrotate and make it handle logadm.conf syntax  
>> in addition to the logrotate.conf syntax.
At least the last is IMHO a bad idea as logadm.conf shouldn't be  
edited (I now you can but then you are responsible for errors) with a  
text editor but instead manipulated by the logadm command line tool. I  
see this and other tools that behave this way in Solaris as a good way  
forward, using logrotate or logadm with plain text file for  
configuration IMHO would be a step backwards. Logadm works, we got  
used to it, so why change it?

>> and maybe
>
> 5.  Ship logadm as usual.  Put logrotate into the IPS non-core
>     repo for people to pull if desired (with all the caveats and
>     warning comments mentioned in this thread...), but ensure
>     that it does not get installed by default.
That's a possibility. Choice always is good, but it shouldn't be  
default and if the new packaging system (haven't looked into it yet)  
supports multiple software repositories it maybe would be a good idea  
to do a linux compatibility repository and put it in there.

So long
-Ralf
---
Ralf Weber
e: opensolaris@fl1ger.de




From unixconsole@yahoo.com Fri Jun  6 05:20:03 2008
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m56CK3au018084
	for <LSARC-ext@sac.sfbay.sun.com>; Fri, 6 Jun 2008 05:20:03 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m56CK2Hr011558
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 6 Jun 2008 05:20:03 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K210070RJLEIQ00@nwk-avmta-2.sfbay.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@Sun.COM); Fri, 06 Jun 2008 05:20:02 -0700 (PDT)
Received: from brmea-mail-3.sun.com ([192.18.98.34])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K210032LJLEFC50@nwk-avmta-2.sfbay.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@Sun.COM); Fri,
 06 Jun 2008 05:20:02 -0700 (PDT)
Received: from relay23.sun.com
 (relay23.sun.com [192.12.251.54] (may be forged))	by brmea-mail-3.sun.com
 (8.13.6+Sun/8.12.9) with ESMTP id m56BnkDV012956	for <lsarc-ext@Sun.COM>; Fri,
 06 Jun 2008 12:20:01 +0000 (GMT)
Received: from mms24es.mms.us.syntegra.com ([150.143.232.70] [150.143.232.70])
 by relay23i.sun.com with ESMTP id BT-MMP-609589 for lsarc-ext@Sun.COM; Fri,
 06 Jun 2008 12:20:01 +0000 (Z)
Received: from relay21.sun.com (relay21.sun.com [192.12.251.24])
 by mms24es.mms.us.syntegra.com with ESMTP id BT-MMP-17961808 for
 lsarc-ext@Sun.COM; Fri, 06 Jun 2008 12:20:01 +0000 (Z)
Received: from web30803.mail.mud.yahoo.com ([68.142.200.146] [68.142.200.146])
 by relay21i.sun.com id BT-MMP-22004451 for lsarc-ext@Sun.COM; Fri,
 06 Jun 2008 12:20:01 +0000 (Z)
Received: (qmail 7811 invoked by uid 60001); Fri, 06 Jun 2008 12:19:10 +0000
Received: from [71.52.80.224] by web30803.mail.mud.yahoo.com via HTTP; Fri,
 06 Jun 2008 05:19:10 -0700 (PDT)
Date: Fri, 06 Jun 2008 05:19:10 -0700 (PDT)
From: Octave Orgeron <unixconsole@yahoo.com>
Subject: Re: [sysadmin-discuss] logrotate [LSARC/2008/359 FastTrack timeout
 06/10/2008]
To: Ralf Weber <opensolaris@fl1ger.de>, John Plocher <John.Plocher@sun.com>,
        sysadmin-discuss@opensolaris.org
Cc: Alan Coopersmith <Alan.Coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <868441.7414.qm@web30803.mail.mud.yahoo.com>
MIME-version: 1.0
X-Mailer: YahooMailRC/975.42 YahooMailWebService/0.7.199
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;  s=s1024; d=yahoo.com;
 h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
 b=hquWhHU7xCNJUf9kOQ8BYYqvCu4aXNSdQZ3XBm/pFc+jpRXG77IwIOhrx9CmcyQHyypBJD7/CPqKfz+a3yJPYd3URLANSL/3XRrtLLUI/0T9Flsp/K52ikYr3IH0y/9k3DGw9E5+5noOSDDdXgx3/SxkRHrZolhTEdo/WyJPaIA=;
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.142sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
Content-Length: 2352
Status: RO
X-Status: $$$$
X-UID: 0000000036

Agreed. The logadm cli is pretty nifty and prevents one from having to manually edit files. Not to mention the fact that users can create their on conf files and cron jobs to rotate their own app logs.

 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Octave J. Orgeron
Solaris Systems Engineer
http://www.opensolaris.org/os/community/sysadmin/
http://unixconsole.blogspot.com
unixconsole@yahoo.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


----- Original Message ----
From: Ralf Weber <opensolaris@fl1ger.de>
To: John Plocher <John.Plocher@Sun.COM>; sysadmin-discuss@opensolaris.org
Cc: Octave Orgeron <unixconsole@yahoo.com>; Alan Coopersmith <Alan.Coopersmith@Sun.COM>; Dean Roehrich <dr161460@sac.sfbay.sun.com>; lsarc-ext@Sun.COM
Sent: Friday, June 6, 2008 2:35:35 AM
Subject: Re: [sysadmin-discuss] logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]

Moin!

On Jun 6, 2008, at 05:57 , John Plocher wrote:

> Octave Orgeron wrote:
>> 1. We stick with logadm, forget logrotate, and perhaps enhance  
>> logadm?
>> 2. We drop logadm and switch to logrotate.
>> 3. Standardize on logadm and make it handle logrotate.conf syntax  
>> in addition to the logadm.conf syntax.
>> 4. Standardize on logrotate and make it handle logadm.conf syntax  
>> in addition to the logrotate.conf syntax.
At least the last is IMHO a bad idea as logadm.conf shouldn't be  
edited (I now you can but then you are responsible for errors) with a  
text editor but instead manipulated by the logadm command line tool. I  
see this and other tools that behave this way in Solaris as a good way  
forward, using logrotate or logadm with plain text file for  
configuration IMHO would be a step backwards. Logadm works, we got  
used to it, so why change it?

>> and maybe
>
> 5.  Ship logadm as usual.  Put logrotate into the IPS non-core
>     repo for people to pull if desired (with all the caveats and
>     warning comments mentioned in this thread...), but ensure
>     that it does not get installed by default.
That's a possibility. Choice always is good, but it shouldn't be  
default and if the new packaging system (haven't looked into it yet)  
supports multiple software repositories it maybe would be a good idea  
to do a linux compatibility repository and put it in there.

So long
-Ralf
---
Ralf Weber
e: opensolaris@fl1ger.de


      

From roehrich@kickball-mn.Central.Sun.COM Fri Jun  6 11:47:01 2008
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m56Il0B7000484
	for <LSARC-ext@sac.sfbay.sun.com>; Fri, 6 Jun 2008 11:47:00 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m56Ikq6p003329
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Fri, 6 Jun 2008 19:46:59 +0100 (BST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2200M1D1IATF00@brm-avmta-1.central.sun.com> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Fri, 06 Jun 2008 12:46:58 -0600 (MDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K2200HH31I9ZLA0@brm-avmta-1.central.sun.com> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Fri,
 06 Jun 2008 12:46:57 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM
 (kickball-mn.Central.Sun.COM [10.1.170.217])	by dm-central-01.central.sun.com
 (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m56Ikux5037223; Fri,
 06 Jun 2008 12:46:57 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM (localhost [127.0.0.1])
	by kickball-mn.Central.Sun.COM (8.13.6+Sun/8.13.6)
 with ESMTP id m56Iku02002612; Fri, 06 Jun 2008 13:46:56 -0500 (CDT)
Received: (from roehrich@localhost)	by kickball-mn.Central.Sun.COM
 (8.13.6+Sun/8.13.6/Submit) id m56IktVV002610; Fri,
 06 Jun 2008 13:46:55 -0500 (CDT)
Date: Fri, 06 Jun 2008 13:46:55 -0500
From: Dean Roehrich <Dean.Roehrich@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <20080606004912.GC12919@sun.com>
To: Jyri Virkki <Jyri.Virkki@sun.com>
Cc: Ceri Davies <ceri@submonkey.net>, lsarc-ext@sun.com
Message-id: <20080606184655.GA2383@kickball-mn.Central.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <alpine.GSO.1.10.0806031516340.11580@grimmy>
 <20080605042152.GL8519@sun.com> <20080605042527.GC2735@Sun.COM>
 <18503.52437.313130.995571@gargle.gargle.HOWL>
 <20080605152408.GA98925@submonkey.net> <20080605154123.GH2735@Sun.COM>
 <18504.2660.924491.989150@gargle.gargle.HOWL> <48480D16.8080604@sun.com>
 <20080605172256.GA22771@kickball-mn.Central.Sun.COM>
 <20080606004912.GC12919@sun.com>
User-Agent: Mutt/1.5.9i
Content-Length: 1380
Status: RO
X-Status: $$$$
X-UID: 0000000037

On Thu, Jun 05, 2008 at 05:49:12PM -0700, Jyri Virkki wrote:
> Dean Roehrich wrote:
> >
> > 
> > The two issues remaining to be addressed in this case are:
> > 
> > 1) Some note linking logadm(1m) to logrotate(1m).  We chose Nico's
> > recommendation from mid-day yesterday to update the SEE ALSO section in
> > logrotate(1m).
> 
> I'm not holding the case up for it but I sure would like if it can
> also include an explanatory comments in the distributed logrotate.conf.  
> 
> The main target user for the familiarity of logrotate is, well,
> familiar with it already so they won't be reading the manpage so the
> comment there will be missed.  
> 
> Which will in some cases lead to an annoyed customer and costly
> support calls when they call Sun trying to figure out what mysterious
> force is messing up with the log files that logrotate is handling.
> 
> If I was doing this case I'd add something like this to the top of the
> config file (possibly spending some more time polishing the wording if
> I was doing the putback..)
> 
> 
> # Note: logadm(1M) is the default and recommended log rotation tool
> # in OpenSolaris. By default it is being invoked from the crontab of root.
> # If enabling logrotate, either avoid configuring it to manage the same 
> # logfiles are logadm or disable logadm, to avoid conflicts.

I've asked Colin to incorporate this change.

Dean

From daleg@elemental.org Fri Jun  6 12:59:55 2008
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m56Jxt6m003570
	for <LSARC-ext@sac.sfbay.sun.com>; Fri, 6 Jun 2008 12:59:55 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m56JxsDt008296;
	Fri, 6 Jun 2008 12:59:54 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K22005054VUCN00@brm-avmta-1.central.sun.com>; Fri,
 06 Jun 2008 13:59:54 -0600 (MDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K22003B84VT7Q10@brm-avmta-1.central.sun.com>; Fri,
 06 Jun 2008 13:59:53 -0600 (MDT)
Received: from relay12i.sun.com
 (ip122.net129179-4.block1.us.syntegra.com [129.179.4.122])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m56JtnfP019418; Fri,
 06 Jun 2008 19:59:52 +0000 (GMT)
Received: from mmp13es.mmp.us.syntegra.com ([160.41.208.13] [160.41.208.13])
 by relay12i.sun.com with ESMTP id BT-MMP-432852; Fri,
 06 Jun 2008 19:59:52 +0000 (Z)
Received: from relay12i.sun.com (relay12i.sun.com [129.179.4.122])
 by mmp13es.mmp.us.syntegra.com with ESMTP id BT-MMP-469639; Fri,
 06 Jun 2008 19:59:52 +0000 (Z)
Received: from mercury.elemental.org ([205.134.191.194] [205.134.191.194])
 by relay1i.sun.com with ESMTP id BT-MMP-5875887; Fri,
 06 Jun 2008 19:59:52 +0000 (Z)
Received: from [10.75.10.116]
 (nat-204-14-233-147-rvo.net.salesforce.com [204.14.233.147])
	(authenticated bits=0)	by mercury.elemental.org (8.14.3/8.14.3/ELEMENTAL-4.0)
 with ESMTP id m56JxAIV003288
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri,
 06 Jun 2008 15:59:11 -0400 (EDT)
Date: Fri, 06 Jun 2008 15:59:10 -0400
From: Dale Ghent <daleg@elemental.org>
Subject: Re: [sysadmin-discuss] logrotate [LSARC/2008/359 FastTrack timeout
 06/10/2008]
In-reply-to: <4848B596.6030700@Sun.Com>
To: John Plocher <John.Plocher@sun.com>
Cc: Octave Orgeron <unixconsole@yahoo.com>, sysadmin-discuss@opensolaris.org,
        Alan Coopersmith <Alan.Coopersmith@sun.com>,
        Dean Roehrich <dr161460@sac.sfbay.sun.com>, lsarc-ext@sun.com
Message-id: <D0FD82C0-23CC-4D9B-841F-E6885ADDA551@elemental.org>
MIME-version: 1.0
X-Mailer: Apple Mail (2.919.2)
Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Greylist: Sender succeeded SMTP AUTH,
 not delayed by milter-greylist-4.0 (mercury.elemental.org [205.134.191.194]);
 Fri, 06 Jun 2008 15:59:11 -0400 (EDT)
X-Virus-Scanned: ClamAV 0.92/7390/Fri Jun  6 13:50:38 2008 on
 mercury.elemental.org
X-Virus-Status: Clean
X-Antispam: No, score=0.0/5.0, scanned in 0.077sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <723379.85124.qm@web30806.mail.mud.yahoo.com>
 <4848B596.6030700@Sun.Com>
Content-Length: 1544
Status: RO
X-Status: $$$$
X-UID: 0000000038

On Jun 5, 2008, at 11:57 PM, John Plocher wrote:

> As Richard says, logrotate does not seem to be one of those
> "must have" things whose lack makes OpenSolaris unusable
> compared to Ubuntu.  Yes, it /is/ a "nice to have" convenience,
> and users will be glad that it is easily available and just
> works on OpenSolaris.  But, IMO, it is just desert, and we
> need to focus on the main course.

Concur. With ARCs like logrotate coming out of the blue for the sake  
of attaining "Linux familiarity", there's a problem that needs to be  
addressed if this is truly something that Sun feels like it needs to  
persue.

Where is the line being drawn? There are lots of things that one can  
conceivably integrate to make Solaris look like Linux, from benign  
utilities such as logrotate (duplicity with existing Solaris utilities  
be darned) to concepts that are more "out there" but still plausible  
under this banner such as emulating Linux's trash dump of /proc, or  
adding "/dev/hda.. /dev/hdb..." and so on.

I guess what I'm saying is that randomly tossing out ARCs in an  
unstructured way is a messy path to take. The concept of "linux  
familiarity" if it were to continue should be a very tempered one, and  
would benefit at the minimum from some set boundaries and  
expectations. This smells like a OS.org Project to me.

But my own opinion is that if anything in this realm happens, it  
should be more along the lines of "GNU familiarity", which is  
something that has already been discussed a lot here and elsewhere.

/dale

From roehrich@kickball-mn.Central.Sun.COM Tue Jun 10 11:54:45 2008
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id m5AIsjFS004671
	for <LSARC-ext@sac.sfbay.sun.com>; Tue, 10 Jun 2008 11:54:45 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id m5AIsjAe013454
	for <@sunmail2sca.sfbay.sun.com:lsarc-ext@sun.com>; Tue, 10 Jun 2008 12:54:45 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0K2900503GJ94600@nwk-avmta-1.sfbay.Sun.COM> for lsarc-ext@sun.com
 (ORCPT lsarc-ext@sun.com); Tue, 10 Jun 2008 11:54:45 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0K290033HGJ8SA10@nwk-avmta-1.sfbay.Sun.COM> for
 lsarc-ext@sun.com (ORCPT lsarc-ext@sun.com); Tue,
 10 Jun 2008 11:54:44 -0700 (PDT)
Received: from kickball-mn.Central.Sun.COM
 (kickball-mn.Central.Sun.COM [10.1.170.217])	by dm-central-02.central.sun.com
 (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id m5AIsiKq008993; Tue,
 10 Jun 2008 12:54:44 -0600 (MDT)
Received: from kickball-mn.Central.Sun.COM (localhost [127.0.0.1])
	by kickball-mn.Central.Sun.COM (8.13.6+Sun/8.13.6)
 with ESMTP id m5AIlE1J003997; Tue, 10 Jun 2008 13:47:14 -0500 (CDT)
Received: (from roehrich@localhost)	by kickball-mn.Central.Sun.COM
 (8.13.6+Sun/8.13.6/Submit) id m5AIlEAw003996; Tue,
 10 Jun 2008 13:47:14 -0500 (CDT)
Date: Tue, 10 Jun 2008 13:47:14 -0500
From: Dean Roehrich <Dean.Roehrich@sun.com>
Subject: Re: logrotate [LSARC/2008/359 FastTrack timeout 06/10/2008]
In-reply-to: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
To: lsarc-ext@sun.com
Cc: colin.ngam@sun.com, ted.pogue@sun.com
Message-id: <20080610184714.GA3982@kickball-mn.Central.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200806032008.m53K8JdT007888@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.9i
Status: RO
Content-Length: 146

This case was approved during LSARC open business today.

A finalized copy of the onepager has been added to the directory
as 'final.spec'.

Dean

