Menu

#2 unix domain socket should be deleted on clean exit

main_code
open
2
2004-03-25
2004-03-05
No

Reported by Bart Schaefer <schaefer@zanshin.com>:

If SIGINT/SIGTERM is received and a unix domain socket
is in use, the socket should be deleted so that it's
not on the filesystem at exit. This corresponds to
what libmilter does.

This does not invalidate the unlink check at start,
which is still quite useful in the case of a sudden die
of the milter process and/or a system reboot, where the
stray socket inode is still hanging around but is unbound.

Discussion

  • Todd Vierling

    Todd Vierling - 2004-03-25
    • labels: 616026 -->
    • milestone: 338241 -->
    • assigned_to: tvierling --> nobody
     
  • Todd Vierling

    Todd Vierling - 2004-03-25
    • labels: --> Sendmail::PMilter
     
  • Todd Vierling

    Todd Vierling - 2004-03-25
    • milestone: --> main_code
    • assigned_to: nobody --> tvierling
     

Log in to post a comment.