[Bug 238306] net/openbgpd: rc.d script check_process() no longer finds parent bgpd process
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 3 10:50:16 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238306
Bug ID: 238306
Summary: net/openbgpd: rc.d script check_process() no longer
finds parent bgpd process
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: hrs at FreeBSD.org
Reporter: stewart.morgan at gmail.com
Flags: maintainer-feedback?(hrs at FreeBSD.org)
Assignee: hrs at FreeBSD.org
In the previous version (5.2), the parent process changed its process title to
"bgpd: parent". In 6.5, it doesn't, so the rc.d script's check_process()
function fails to find it.
Since (at least by default) the parent process runs as root, a simple fix would
be to change check_process() to use: /bin/pgrep -U 0 -f 'bgpd'.
I've tested this on 11.2 and 12.0 (amd64).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list