Daniel,

On Mon, Jan 30, 2012 at 02:45:08PM +0900, Puzzlet Chung wrote:
> Some of my scripts for the cron job, they spawn multiple processes at
> once in background and wait till all of them end. But the new patch
> from debianutils 4.2 somehow makes the children defunct.
> Here's how I reproduced it:
> 
> mkdir -p /tmp/run-parts-test
> cd /tmp/run-parts-test
> echo $'#!/bin/sh\nls /tmp > /dev/null &\nwait' > test
> chmod +x test
> run-parts /tmp/run-parts-test
> 
> And the output of ps uf:
> 
> puzzlet  16206  0.0  0.0  22624  4112 pts/9    Ss   13:41   0:00 /bin/bash
> puzzlet   6909  0.0  0.0   4052   588 pts/9    S+   14:34   0:00  \_
> run-parts /tmp/run-parts-test
> puzzlet   6910  0.0  0.0   4148   580 pts/9    S+   14:34   0:00
> \_ /bin/sh /tmp/run-parts-test/test
> puzzlet   6911  0.0  0.0      0     0 pts/9    Z+   14:34   0:00
>    \_ [ls] <defunct>
> 

Thoughts?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to