[DFD] dfd_keeper bug update

travis+ml-dfd at subspacefield.org travis+ml-dfd at subspacefield.org
Fri May 29 15:32:33 CDT 2009


Two bugs, possibly related, appear in the latest DFD.

When DFD first starts up, it tries to sync the rules before doing
anything else, including starting the main event loop.  This generates
the following warning:

/usr/local/lib/python2.5/site-packages/dfd_keeper.py:422: PotentialZombieWarning: spawnProcess called, but the SIGCHLD handler is not installed. This probably means you have not yet called reactor.run, or called reactor.run(installSignalHandler=0). You will probably never see this process finish, and it may become a zombie process.
  reactor.spawnProcess(inst, cmd[0], cmd, os.environ)

I am working on spawning a conventional subprocess (not an event-based
one) for the first sync, and all syncs after the reactor starts will
be handled as before.

The second problem is more perplexing: If you run the example script
and pass the --daemon flag, it will fork off into the background as
expected.  However, connections to its listening port actually
complete, but it never prints its banner or accepts any commands.
This one is a little puzzling, as the program works just fine if you
don't run it as a daemon.  The example script worked just fine under
an older OpenBSD, but it exhibits this behavior on the latest OpenBSD.
I'm not sure what the cause of this problem is; it could be related to
the former bug, or it could be due to some expectation in an
underlying library that I installed on the latest OpenBSD which wasn't
an expectation for an older version of the library.
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email john at subspacefield.org to get blacklisted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.bitrot.info/pipermail/dfd/attachments/20090529/52ffa6b1/attachment.pgp 


More information about the DFD mailing list