Hi,

I'd like some insight from somebody familiar with rc.subr on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207896.

Zabbix uses SysV shared memory and semaphores to communicate between
multiple processes.  Those are cleaned up when the master process is
SIGTERMed.  So the obvious deficiency here was setting pidfile.  Except
pidfile still SIGTERMed all the children.. it seemed to still be using
check_process to get all the PIDs on stop.  So I added rc_pid in addition
and it work as I expected.  That seems strange as it's not documented and
my read of the code indicates that pidfile was intended to be "enough".

Any advice?

Regards,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "[email protected]"

Reply via email to