It is sadly not propagated to grandchildren.
I tries the subreaper approach, but it doesn't help. The children are reparented to the worker, but when the worker dies, they are then just reparented to init, like normally.
I tries the subreaper approach, but it doesn't help. The children are reparented to the worker, but when the worker dies, they are then just reparented to init, like normally.
If you want to write a process manager, one of the process manager's responsibilities is waiting on its children.