The openbgpd rc script checks for running processes the following function:
/bin/pgrep -f 'bgpd: parent.*'
When run on the host system with openbgpd instances running in jails, this can lead to killing them too.
To fix the problem, pgrep must be told to only use jail id 0 when searching for processes:
/bin/pgrep -j none -f 'bgpd: parent.*'
With this, only processes in the jail context are searched and therefore killed.
Created attachment 198478 [details]
Assign to maintainer
thank you for the help. Is there any chance to get this merged? I just switched to FreeBSD 12.0-RC3, reinstalled all my ports and ran again into the same issue :(.
Is there anything I can help with to move this forward?