Actions
Optimization #2848
closedRule reload when run with -s or -S arguments
Effort:
low
Difficulty:
low
Label:
Description
Live rule reload doesn't trigger while running suricata with -s or -S.
Actions
Added by Andreas Herz almost 7 years ago. Updated over 6 years ago.
Description
Live rule reload doesn't trigger while running suricata with -s or -S.
If sig_file is set we don't even register the SignalHandlerSigusr2 and thus we never run into the case that sigusr2_count will be > 0 and will never print the warning message "Live rule reload not possible if -s or -S option used at runtime.". So first question, why don't we support this? And if we don't want to support it should we still register the handler to print the warnings?
It's just not implemented. There is no reason it can't be implemented though.