[Oisf-users] Cannot create a PID file by default

Jason Ish lists at unx.ca
Thu Apr 30 18:03:46 UTC 2015


On Thu, Apr 30, 2015 at 10:48 AM, James Moe <jimoe at sohnen-moe.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04/29/2015 08:53 AM, Jason Ish wrote:
>>>> /bin/kill -HUP $(cat /usr/local/var/run/suricata.pid) does
>>>> nothing.
>> It will re-open the log files.
>>
>   If the log files exist, it is a null operation?
>   Does suricata also reload the yaml file when it receives a -HUP?

It should be, but in 2.0.7 it will truncate the files, which we've
decided is a bug.  In a future release, if the file exists, it will be
a no-op, if it doesn't exist (moved out by logrotation) it will be
recreated.

SIGHUP only does the file rotation, it does not re-read the configuration.

Jason



More information about the Oisf-users mailing list