Re: pluto not responding -- possibly not re-entrant (updown)

"D. Hugh Redelmeier" <[email protected]> Wed, 12 Mar 2003 16:08:58 -0500 (EST)
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


| From: John S. Denker <[email protected]>

| This needs to be documented.  It all makes perfect
| sense in retrospect, but it came as a rude surprise
| to me.

Yes.  I added a paragraph right after I sent my reply.

       Pluto waits for the script to finish and will not do any other process-
       ing  while  it  is  waiting.  The script may assume that pluto will not
       change anything while the script runs.  The script should  avoid  doing
       anything  that takes much time and it should not issue any command that
       requires processing by pluto.  Either of these activities could be per-
       formed by a background subprocess of the script.

| Also, as mentioned in my previous note, one could
| imagine detecting attempted re-entrancy (perhaps
| based on pgid) and producing an error message
| rather than a hang.

I'm too lazy, at least for now :-)

Hugh Redelmeier
[email protected]  voice: +1 416 482-8253

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBPm+h7sFAuQPManGZAQHA5wP+KBAyTzAjqlXgqSzvh5DwmjXDhZjY30Om
Yp8IA5VF981iCDNOPj5f38BK0yOPCaZPc0GISoiWWJLdtLArsOWhZqswIU3b61m5
2ldrnNxE4++OHzqGqIv5nyzbl585jQjqtTCX7TPUc2hchOiH4+tNjZgIuzjyxnR9
U1dpvIP1pTY=
=lLyR
-----END PGP SIGNATURE-----