hang on exit - bug or no bug?
Tim Rice
tim at multitalents.net
Fri Oct 5 08:36:13 EST 2001
On Thu, 4 Oct 2001, Nicolas Williams wrote:
> No, don't modify your OS' startup scripts, just run them differently.
>
> Look, the fds are left open, so you potentially lose data, but you don't
> care, right? So why not run those scripts like so:
>
> ssh -n root at somehost /etc/init.d/syslog stop
> ssh -n root at somehost /etc/init.d/syslog start \>/dev/null 2\>\&1
>
> ?
>
> You have this issue with RSH too you know. I long ago learned to deal
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
What's bothering so many people, is there are a number of platforms
where ssh hangs but rsh does not.
(Anyone have source to Solaris, UnixWare, SCO, ......) ;-)
> with this by manually redirecting stdio to /dev/null. And yes, sometimes
> you care about some bit of command's output, because you may want to see
> error msgs from /etc/init.d/syslog, say. There's a few solutions:
>
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list