You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run ossec-agentd in the foreground I noticed a child process was spawned. I'm currently running 3.6 but I witnessed no major commit that changes this behavior up to 3.8 so I assume it applies as well.
# /var/ossec/bin/ossec-agentd -V
OSSEC HIDS v3.6.0 - OSSEC Foundation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License (version 2) as
published by the Free Software Foundation. For more details, go to
http://www.ossec.net/main/license/
Trying to run ossec-agentd in the foreground I noticed a child process was spawned. I'm currently running 3.6 but I witnessed no major commit that changes this behavior up to 3.8 so I assume it applies as well.
What I saw:
And indeed if I try to start it manually it explicitly tells me it's in daemon mode:
I believe the run_foreground condition at https://github.com/ossec/ossec-hids/blob/main/src/client-agent/agentd.c#L31 isn't respected correctly.
The text was updated successfully, but these errors were encountered: