#8 Clean up on kill signal

v0.5.0
closed
5
2006-06-23
2006-06-08
Dan Mahoney
No

It would be really useful if the filter could remove
its own socket when exiting. This should be fairly
easy to implement.

Discussion

  • Anonymous - 2006-06-08
    • milestone: --> v0.5.0
    • assigned_to: nobody --> sm-msk
    • status: open --> pending
     
  • Anonymous - 2006-06-08

    Logged In: YES
    user_id=1048957

    In fact libmilter does try to remove the socket on shutdown;
    check the mi_closener() function in libmilter/listener.c.

    I tested it on a FreeBSD machine running as myself just now
    and it cleaned up the socket it created.

    Check the release notes for the version of libmilter you're
    running. Some way-older versions didn't remove the socket
    but newer ones do; some versions had bugs removing the
    socket on shutdown. Also, some won't remove the socket if
    you're running as root. And, of course, if you use SIGKILL
    to shut down your filter, there's no way the filter can
    clean up after itself.

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks