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
there are some close(0) .. close(2) lines, they where moved from daemon_init to main. daemon_init is called before init_worker but now the fds are closed after init_worker, so they are only closed in the main process and not in the workers. That leads to the following problem:
Hi,
i think the faulty commit is fa9c19d.
there are some close(0) .. close(2) lines, they where moved from daemon_init to main. daemon_init is called before init_worker but now the fds are closed after init_worker, so they are only closed in the main process and not in the workers. That leads to the following problem:
code like this does not return:
output=$( ./src/naemon/naemon -du sample-config/naemon.cfg )
in reality i'm doing
output=$( omd restart )
and that doesn't work anymore.Before this commit it works as expected.
So I think in init_worker you also need to close the fds?
The text was updated successfully, but these errors were encountered: