Code: Select all
systemctl kill -q --signal=SIGHUP suricata
Code: Select all
Failed to kill unit suricata.service: Access denied
error: error running non-shared postrotate script for /var/log/suricata/eve.json of '/var/log/suricata/*.json'
Code: Select all
type=USER_AVC msg=audit(1509555696.315:106570): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: denied { stop } for auid=0 uid=0 gid=0 path="/usr/lib/systemd/system/suricata.service" cmdline="systemctl kill -q --signal=SIGHUP suricata" scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=service exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
Code: Select all
/bin/kill -s SIGHUP `cat /var/run/suricata/suricata.pid`