Bug#657947: run-parts not aware of finished background processes

2012-01-30 Thread Daniel Richman
The attached patch unblocks SIGCHLD before executing a child process. I believe this will fix the problem; my mistake. Daniel On 30 January 2012 17:00, Daniel Richman wrote: > Whoops. The sig mask blocking  SIGCHLD will be inherited. I can modify the > patch to fix this later today. > > Daniel >

Bug#657947: run-parts not aware of finished background processes

2012-01-30 Thread Daniel Richman
Whoops. The sig mask blocking SIGCHLD will be inherited. I can modify the patch to fix this later today. Daniel On Jan 30, 2012 3:54 PM, "Clint Adams" wrote: > 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

Bug#657947: run-parts not aware of finished background processes

2012-01-30 Thread Clint Adams
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

Bug#657947: run-parts not aware of finished background processes

2012-01-29 Thread Puzzlet Chung
Package: debianutils Version: 4.2 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