[Pkg-sysvinit-devel] Bug#537182: leftover startpar process after makefile concurrency boot
Petter Reinholdtsen
pere at hungry.com
Thu Jul 16 07:38:38 UTC 2009
[Iain Calder]
> Perhaps that is the cause of the problem?
I doubt this is the cause of the problem, but thank you for the tip.
I guess this should be fixed too.
I am not sure, but I believe the cause of this problem is that file
descriptor 0 is /dev/ptmx, while it should be some pseudo terminal or
a pipe.
I did some further testing after reading the startpar source, and
discovered that the interactive scripts are handled in different code
paths from non-interactive scripts. Because of this, I added '#
X-Interactive: true' to init.d/rsyslog and reran insserv to flag the
script as interactive. After doing this change, the leftover startpar
process were gone. This tells me that the non-interactive code path
got the problem. Still no idea what is wrong.
PS: bounced your message to BTS, and replies to BTS too, to make the
suggestion available to the public and upstream.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list