Re: [foxboro] foxmonitor startup problems
- From: stan <stanb@xxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Thu, 12 Dec 2002 08:19:30 -0500
On Wed, Dec 11, 2002 at 04:27:36PM -0500, Johnson, Alex (Foxboro) wrote:
>
> Actually, it was a bad place to put it.
>
>
> I usually use / for this log file on my machine, but I got sloppy. Good
> catch.
>
> How about this:
>
> #!/bin/sh
> exec >/etc/rc2.d/log.S99FOXBORO 2>&1
> set -x
>
Actually, as one of my co-workers pointed out, I think Alex's original idea
(while not pretty) would _not_ cause a problem. As my co-worker pointed out
the executable bit will not get set on the created logfile, thus init (at
least I _think_ that's what executes these startup scripts) would not be
able to execute teh logfile.
Of course, if init (or whatever executes these), _sources_ the
/etc/rc?.d/S* files on a run level change, all bets are off, and it _would_
be a problem.
Anyone know for certain?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- Follow-Ups:
- Re: [foxboro] foxmonitor startup problems
- From: stan
- Re: [foxboro] foxmonitor startup problems
- From: Darryl Bond
- References:
- Re: [foxboro] foxmonitor startup problems
- From: Johnson, Alex (Foxboro)
Other related posts:
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- » Re: [foxboro] foxmonitor startup problems
- Re: [foxboro] foxmonitor startup problems
- From: stan
- Re: [foxboro] foxmonitor startup problems
- From: Darryl Bond
- Re: [foxboro] foxmonitor startup problems
- From: Johnson, Alex (Foxboro)