annotate 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 |
|
rev |
line source |
meillo@0
|
1 COPYRIGHT ISSUES:
|
meillo@0
|
2
|
meillo@0
|
3 This version of 'libident' is hereby released into the
|
meillo@0
|
4 Public Domain. It may be distributed for a fee or without
|
meillo@0
|
5 a fee. We only ask you not to pretend you wrote it.
|
meillo@0
|
6
|
meillo@0
|
7 If you make any changes, please send sources or a diff of it to
|
meillo@0
|
8 us (pen@lysator.liu.se or pell@lysator.liu.se), so we can keep
|
meillo@0
|
9 _one_ unified version of libident available...
|
meillo@0
|
10
|
meillo@0
|
11
|
meillo@0
|
12 FTP SITE:
|
meillo@0
|
13
|
meillo@0
|
14 The official FTP site and location for libident is:
|
meillo@0
|
15
|
meillo@0
|
16 ftp://ftp.lysator.liu.se/pub/ident/libs
|
meillo@0
|
17
|
meillo@0
|
18
|
meillo@0
|
19 COMMENTS:
|
meillo@0
|
20
|
meillo@0
|
21 This is the second stab at a small library to interface to the Ident
|
meillo@0
|
22 protocol server. Maybe this will work correctly on some machines.. :-)
|
meillo@0
|
23
|
meillo@0
|
24 The ident-tester.c file is a small daemon (to be started from Inetd)
|
meillo@0
|
25 that does an ident lookup on you if you telnet into it. Can be used
|
meillo@0
|
26 to verify that your Ident server is working correctly.
|
meillo@0
|
27
|
meillo@0
|
28 I'm currently running this "ident-tester" on port 114 at lysator.liu.se
|
meillo@0
|
29 (130.236.254.1) if you wish to test your server.
|
meillo@0
|
30
|
meillo@0
|
31 /Peter Eriksson <pen@lysator.liu.se>, 1 Aug 1992
|
meillo@0
|
32
|
meillo@0
|
33
|
meillo@0
|
34 This library now contains some higher-level routines, as well as a
|
meillo@0
|
35 similar test program to test these (lookup-tester).
|
meillo@0
|
36
|
meillo@0
|
37 /Pär Emanuelsson <pell@lysator.liu.se>, 4 April 1993
|
meillo@0
|
38
|
meillo@0
|
39
|
meillo@0
|
40 Support for NextStep 3.1 added.
|
meillo@0
|
41
|
meillo@0
|
42 /Michael Kuch <kuch@mailserv.zdv.uni-tuebingen.de>, 13 Aug 1993
|
meillo@0
|
43
|
meillo@0
|
44
|
meillo@0
|
45 Updated the ident.h header file to work with Linux, and reorganized the
|
meillo@0
|
46 Makefile for easier compilation...
|
meillo@0
|
47
|
meillo@0
|
48 /Peter Eriksson, 18 Oct 1994
|
meillo@0
|
49
|
meillo@0
|
50
|
meillo@0
|
51 Added the copyright notice at the top.
|
meillo@0
|
52
|
meillo@0
|
53 /Peter Eriksson, 29 Nov 1994
|
meillo@0
|
54
|
meillo@0
|
55
|
meillo@0
|
56 For release 0.18:
|
meillo@0
|
57
|
meillo@0
|
58 Added some bug fixes and improvements from Jean-Philippe Martin-Flatin
|
meillo@0
|
59 (syj@ecmwf.int).
|
meillo@0
|
60
|
meillo@0
|
61 /Peter Eriksson, 5 Oct 1995
|
meillo@0
|
62
|
meillo@0
|
63
|
meillo@0
|
64 For release 0.20:
|
meillo@0
|
65
|
meillo@0
|
66 Some cleanup of the distribution, and some bug fixes in the
|
meillo@0
|
67 ident-tester.c source. Perhaps it should be called 1.0? (Perhaps
|
meillo@0
|
68 it should use GNU Autoconf...)
|
meillo@0
|
69
|
meillo@0
|
70 /Peter Eriksson, 13 Nov 1996
|
meillo@0
|
71
|
meillo@0
|
72
|
meillo@0
|
73 For release 0.21:
|
meillo@0
|
74
|
meillo@0
|
75 A couple of minor fixes (mainly support for 2.11BSD).
|
meillo@0
|
76
|
meillo@0
|
77 /Peter Eriksson, 17 Jan 1997
|