masqmail

view src/libident/README @ 72:ad034b57f3b2

fixed Debian bug 536060 (log files are closed after SIGHUP receival) Explanation: When run in daemon mode, first the log files are opened. They get assigned to the file descriptors 3 and 4 usually. Then std{in,out,err} are closed. When SIGHUP comes in, all open files are closes and masqmail reexecutes itself. The new masqmail instance opens the log files at fd 0 and 1 now, but std{in,out,err} are closed afterwards, thus the log files are closed. The fix is to close the log files before std{in,out,err} are closed, in case the log files have higher fds. After std{in,out,err} were closed, the log files get opened again, now. See also: http://bugs.debian.org/536060
author meillo@marmaro.de
date Wed, 16 Jun 2010 10:32:20 +0200
parents
children
line source
1 COPYRIGHT ISSUES:
3 This version of 'libident' is hereby released into the
4 Public Domain. It may be distributed for a fee or without
5 a fee. We only ask you not to pretend you wrote it.
7 If you make any changes, please send sources or a diff of it to
8 us (pen@lysator.liu.se or pell@lysator.liu.se), so we can keep
9 _one_ unified version of libident available...
12 FTP SITE:
14 The official FTP site and location for libident is:
16 ftp://ftp.lysator.liu.se/pub/ident/libs
19 COMMENTS:
21 This is the second stab at a small library to interface to the Ident
22 protocol server. Maybe this will work correctly on some machines.. :-)
24 The ident-tester.c file is a small daemon (to be started from Inetd)
25 that does an ident lookup on you if you telnet into it. Can be used
26 to verify that your Ident server is working correctly.
28 I'm currently running this "ident-tester" on port 114 at lysator.liu.se
29 (130.236.254.1) if you wish to test your server.
31 /Peter Eriksson <pen@lysator.liu.se>, 1 Aug 1992
34 This library now contains some higher-level routines, as well as a
35 similar test program to test these (lookup-tester).
37 /Pär Emanuelsson <pell@lysator.liu.se>, 4 April 1993
40 Support for NextStep 3.1 added.
42 /Michael Kuch <kuch@mailserv.zdv.uni-tuebingen.de>, 13 Aug 1993
45 Updated the ident.h header file to work with Linux, and reorganized the
46 Makefile for easier compilation...
48 /Peter Eriksson, 18 Oct 1994
51 Added the copyright notice at the top.
53 /Peter Eriksson, 29 Nov 1994
56 For release 0.18:
58 Added some bug fixes and improvements from Jean-Philippe Martin-Flatin
59 (syj@ecmwf.int).
61 /Peter Eriksson, 5 Oct 1995
64 For release 0.20:
66 Some cleanup of the distribution, and some bug fixes in the
67 ident-tester.c source. Perhaps it should be called 1.0? (Perhaps
68 it should use GNU Autoconf...)
70 /Peter Eriksson, 13 Nov 1996
73 For release 0.21:
75 A couple of minor fixes (mainly support for 2.11BSD).
77 /Peter Eriksson, 17 Jan 1997