X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C86EA5.3B65BF8E@onstor-exch02.onstor.net>; Wed, 13 Feb 2008 18:02:12 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: PERFORCE change 27817 for review
Date: Wed, 13 Feb 2008 18:02:12 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C939E@onstor-exch02.onstor.net>
In-Reply-To: <20080213164732.2c890ced@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: PERFORCE change 27817 for review
Thread-Index: Achuoy7CiteEDJ6IQOCqsgZgeaavAQAAPmGw
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Charissa Willard" <charissa.willard@onstor.com>

I think $lines is computed; Lines might end up being a negative 3, hence
the bug.

Charissa and I were talking earlier. The think emrscron creates the root
crontab for the first time so by fixing emrscron to quit its squawking
is another way to deal with this.

I do think we need to add newsyslog.conf to the rootfs because when it
is created it is empty.=20

How different is the Linux newsyslog.conf from the OpenBSD version? I am
contemplating hi-jacking the one from OpenBSD and hacking it up.

Larry

-----Original Message-----
From: Andy Sharp=20
Sent: Wednesday, February 13, 2008 4:48 PM
To: Charissa Willard
Cc: Ken Renshaw; Larry Scheer
Subject: Re: PERFORCE change 27817 for review

On Wed, 13 Feb 2008 15:14:05 -0800 "Charissa Willard"
<charissa.willard@onstor.com> wrote:

> Make the problem area sw-cli so I'm at least the tech lead.
>=20
> =20
>=20
> Can you list the crontab ("crontab -l")?

Nack.  There is no crontab.  What's happening is that this is a system
that is booting for the first time after a flash_install.
newsyslog.conf has yet to be installed for the first time either.  So
the code needs to take that into account -- that there might not be a
crontab yet, or a newsyslog.conf file.  We might be able to fix the no
root crontab thing by putting one in the root filesystem that contains
not but comments.

I'm not sure what's going on with tail.  Possibly a typo somewhere,
hopefully not something I did, like --3 instead of -3?

Wait, in emrscron I see "tail -$lines" in a few places.  lines probably
already has a dash at the beginning of it.  Something like that.

> ________________________________
>=20
> From: Ken Renshaw=20
> Sent: Wednesday, February 13, 2008 3:05 PM
> To: Charissa Willard
> Subject: FW: PERFORCE change 27817 for review
>=20
> =20
>=20
> Hi Charissa. Is this something I should assign to you, or ???
>=20
> =20
>=20
> This is the tail-end of the linux boot messages after coming up from a
> fresh flash install FYI.
>=20
> =20
>=20
> Thanks,
>=20
> =20
>=20
> -Ken
>=20
> =20
>=20
> ________________________________
>=20
> From: Andy Sharp
> Sent: Wed 2/13/2008 12:40 PM
> To: Ken Renshaw
> Subject: Re: PERFORCE change 27817 for review
>=20
> I doubt it.  It looks like some kind of problem in emrscron or
> support.sh or something?  Feel free to file a bug.  Assign it to
> Charissa ~:^)
>=20
> On Wed, 13 Feb 2008 12:02:26 -0800 "Ken Renshaw"
> <ken.renshaw@onstor.com> wrote:
>=20
> > Hey Andy, would this checkin fix this issue I just had with new
> > flash_installs? If so I won't bother filing any bugs on it...thanks.
> >
> > Starting periodic command scheduler: crond.
> > Starting ONStor services: mgmtbus/onstor/bin/emrscron -f
> > no crontab for root
> > no crontab for root
> > no crontab for root
> > no crontab for root
> > tail: unrecognized option `--3'
> > Try `tail --help' for more information.
> > no crontab for root
> > no crontab for root
> > no crontab for root
> > tail: unrecognized option `--3'
> > Try `tail --help' for more information.
> > grep: /etc/newsyslog.conf: No such file or directory
> > cat: /etc/newsyslog.conf: No such file or directory
> >  pm.
> >
> > OnStor GNU/Linux 4.0 g10r204 duart0
> >
> > g10r204 login:
> >
> >
> > -----Original Message-----
> > From: Andy Sharp
> > Sent: Wed 2/13/2008 11:58 AM
> > To: Amit Bothra; Andy Sharp; Brian DeForest; Charissa Willard; Chris
> > Vandever; Danqing Jin; Deepak Veliath; Eric Barrett; Henry Lau; Ian
> > Brown; Jobi Ariyamannil; Jonathan Goldick; Ken Renshaw; Larry
> > Scheer; Maxim Kozlovsky; Mike Lee; Sandrine Boulanger; Svati
> > Chandra; Tim Gardner; Yuvarani Cothandaraman Subject: PERFORCE
> > change 27817 for review Change 27817 by andys@ripper on 2008/02/13
> > 06:59:49
> >
> >       Fix OS specific code to reset configuration information.
> >     =20
> >       Specifically default route, management interface
> > configurations, and root crontab.
> >     =20
> >       reviewed by rendellf
> >
> > Affected files ...
> >
> > ... //depot/dev/nfx-tree/Tools/Linux-config-files#3 edit
> > ... //depot/dev/nfx-tree/Tools/OpenBSD-config-files#2 edit
> > ... //depot/dev/nfx-tree/code/ssc-nfxsh/cmd_flash.c#9 edit
> > ... //depot/dev/nfx-tree/code/ssc-nfxsh/linux.h#11 edit
> > ... //depot/dev/nfx-tree/code/ssc-nfxsh/openbsd.h#11 edit
> >
> >
> > http://liszt:1818/@md=3Dd&cd=3D//depot/$c=3DG35@/27817?ac=3D10
> <http://liszt:1818/@md=3Dd&cd=3D/depot/$c=3DG35@/27817?ac=3D10>=20
> >
>=20
