[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] raq550 mfg hook
- Subject: Re: [cobalt-developers] raq550 mfg hook
- From: Lyle Scheer <lyle.scheer@xxxxxxx>
- Date: Thu Oct 9 09:42:01 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi Paul,
That snippet of code would be because of me. Originally used for
manufacturing testing, these days we use this little code hook to mount
a directory on the server and run a script that is used to load patches
onto the machine at the end of the build process. If the process works
correctly, the hook should be removed at the end of the process.
Originally, the snippet of code was in the /etc/rc.d/rc.local script,
but for later appliances, I didn't want to leave a potential security
exploit around (mount a server and run a script... if you can be that
server and that script, then you're right in the boot sequence as
root). So for later appliances, I created a file
"/etc/rc.d/rc3.d/S98__DELETE_ME___"
That this script is still on your system indicates that perhaps the
patch load process did not complete as it was never cleaned up.
What you can do is look for the delete me startup script and delete it.
What Gerald said is probably likely... it was from an OS restore, and I
suspect that either it was a custom os restore that didn't fully work,
or the restore got interrupted during the patch loading.
- Lyle
On Fri, 2003-10-10 at 06:59, Paul Aviles wrote:
> Steve, this is on a Raq 550... any issues or just ignore it?
>
> Thanks
>
> --
> Paul Aviles
> http://folding.stanford.edu
> Team # 33187
>
> ---------- Original Message -----------
> From: Steve Bonisteel <steveb@xxxxxxxxxxxxx>
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Sent: Thu, 09 Oct 2003 09:36:46 -0400
> Subject: Re: [cobalt-developers] raq550 mfg hook
>
> > At 09:11 AM 10/9/2003, Paul wrote:
> >
> > >That shows up just before the unit finishes starting up and
> > >displaying the
> > >hostname/ip address in the LCD panel.
> >
> > Previous Cobalt devices had alternate start-up scripts/utilities
> > that I suppose were used by the manufacturer for testing. This
> > snippet from one such script uses the terms "hook" and "MFG tests":
> >
> > # Hook for manufacturing... customers seeing this comment should copy
> > # rc.local.master to rc.local
> >
> > MFG=`/bin/hostname | /usr/bin/cut -d. -f2-`
> > if [ $MFG = "mfg.cobaltmicro.com" ]; then
> > /sbin/stoplcd
> > /sbin/writelcd "Running MFG" "tests..."
> > /bin/mount tester:/test_dir /mnt
> > /mnt/run_tests
> > fi
> >
> > --
> > Steve Bonisteel
> > The Web Paving Company Ltd. / Kingston, Ontario
> > Phone: 613-531-0479 / Fax : 613-545-9148
> >
> > PGP Public Key: <http://webpaving.com/pgp>
> >
> > ICQ: 321181636
> > MSN/AIM/YAHOO: "webpaving"
> >
> > _______________________________________________
> > cobalt-developers mailing list
> > cobalt-developers@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-developers
> ------- End of Original Message -------
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers