Closed tiian closed 1 year ago
The bug is not in the flom code but in the shell script
flom_test_exec2.sh
called by case tests in file
monitor.at
The issue is located at command
/bin/kill -SIGTERM -PGID
it seems signals are not delivered to the Process Group ID, but they are still delivered to single processes using
/bin/kill -SIGTERM PID1 PID2
The behavior sounds strange and it seems quite impossible that there's something broken in "kill" command. Anyway, the case test works sending the message to every process ID.
Issue solved with version 1.6.0: https://github.com/tiian/flom/releases/tag/1.6.0
The case test related to option
--ignore-signal=SIGTERM
does not work for Ubuntu 22.04 LTS. It's a possible bug to be investigated.