AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080213170524.396f6c49@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>,<charissa.willard@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C939E@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 13 Feb 2008 17:05:47 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Cc: "Charissa Willard" <charissa.willard@onstor.com>
Subject: Re: PERFORCE change 27817 for review
Message-ID: <20080213170547.15965dbd@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C939E@onstor-exch02.onstor.net>
References: <20080213164732.2c890ced@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C939E@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 13 Feb 2008 17:02:12 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

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

Might be hecka easier to just add a 'blank' crontab.
 
> I do think we need to add newsyslog.conf to the rootfs because when it
> is created it is empty. 
> 
> How different is the Linux newsyslog.conf from the OpenBSD version? I
> am contemplating hi-jacking the one from OpenBSD and hacking it up.

As far as I know they are identical.

> Larry
> 
> -----Original Message-----
> From: Andy Sharp 
> 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.
> > 
> >  
> > 
> > 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.
> 
> > ________________________________
> > 
> > From: Ken Renshaw 
> > Sent: Wednesday, February 13, 2008 3:05 PM
> > To: Charissa Willard
> > Subject: FW: PERFORCE change 27817 for review
> > 
> >  
> > 
> > Hi Charissa. Is this something I should assign to you, or ???
> > 
> >  
> > 
> > This is the tail-end of the linux boot messages after coming up
> > from a fresh flash install FYI.
> > 
> >  
> > 
> > Thanks,
> > 
> >  
> > 
> > -Ken
> > 
> >  
> > 
> > ________________________________
> > 
> > From: Andy Sharp
> > Sent: Wed 2/13/2008 12:40 PM
> > To: Ken Renshaw
> > Subject: Re: PERFORCE change 27817 for review
> > 
> > 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 ~:^)
> > 
> > On Wed, 13 Feb 2008 12:02:26 -0800 "Ken Renshaw"
> > <ken.renshaw@onstor.com> wrote:
> > 
> > > 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.
> > >      
> > >       Specifically default route, management interface
> > > configurations, and root crontab.
> > >      
> > >       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=d&cd=//depot/$c=G35@/27817?ac=10
> > <http://liszt:1818/@md=d&cd=/depot/$c=G35@/27817?ac=10> 
> > >
> > 
