[Pkg-sysvinit-devel] Bug#537182: Re Bug#537182: Leftover startpar process - any clue to spare?

Henrique de Moraes Holschuh hmh at debian.org
Sun Aug 2 18:46:24 UTC 2009

On Tue, 28 Jul 2009, Petter Reinholdtsen wrote:
> [Petter Reinholdtsen]
> > Will have to check if rsyslog closes stdout and stderr.
> This actually seem to be the problem.  I tested adding '> /dev/null
> 2>&1' to the line in init.d/rsyslog starting rsyslog, and this solved
> the problem.
> This make me conclude that rsyslog need to be changed to close stdin
> and stdout, and thus I reassign this issue to rsyslog.

Make it close *every* open fd it gets when it is going daemon.  Just like
detaching from the controlling terminal and starting a new session head
(which I assume it already does).

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

More information about the initscripts-ng-devel mailing list