On Wed, Apr 25, 2001 at 02:46:12PM -0400, Thomas Kreeger wrote:

> 2     the script loops through remote systems and executes a remote rpm -Uhv
> 3     the rpm package has a post install script.
> 4     the post script calls a second script followed by...
> 5     /etc/rc.d/init.d/httpd restart.

> 1.    Will this stdout workaround apply in this case?

I don't know; you can try it.  If I were you, I'd test with the simple
"sleep" commands first... if those don't work, it's a safe bet that your
httpd restart won't either.

> 2.    If so, should I redirect the commands in the post install script?
> 3.    or should I redirect the rpm command's stdout?

> In my case it is important to see the output from rpm as it happens to
> watch for errors as my web application is upgraded across my server farm.

Ouch.  Tough problem... wish I had a good answer for you.

Perhaps you could log the rpm output somewhere, and then have it mailed
back to you for "batch" analysis?  Just a thought.... :-/

Reply via email to