The timeout works as it should, it sends kill to process group. The issue is what we use timeout with OCF_RUN wrapper, which uses 'su'. But su changes the process group, hence we're ending up with orphaned processes after timeout kills original group.
The timeout works as it should, it sends kill to process group. The issue is what we use timeout with OCF_RUN wrapper, which uses 'su'. But su changes the process group, hence we're ending up with orphaned processes after timeout kills original group.