Bug#620389: /usr/sbin/exim4: doesn't close open files when started as a daemon
Andreas Metzler
ametzler at downhill.at.eu.org
Sat Apr 9 11:40:04 UTC 2011
On 2011-04-01 Bjørn Mork <bjorn at mork.no> wrote:
> Package: exim4-daemon-light
> Version: 4.72-6
> Severity: important
> File: /usr/sbin/exim4
> "exim4 -bd" should close all inherited file handles.
[...]
> The reason is that "run-parts --report" redirects stdout and stderr to
> pipes, and is waiting for the process to close them. This won't
> happen here, because apt started exim4 which keeps them open (among
> quite a few others which also should have been closed by exim4):
[...]
Is there a straightforward way to reproduce this?
argenau:~# exim4 -bd -q30m 2>&1 | { cat > /tmp/exim4.debugging ; echo stdout exiting; }
stdout exiting
cu andreas
More information about the Pkg-exim4-maintainers
mailing list