Date: Mon, 03 Jun 2019 10:50:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238306] net/openbgpd: rc.d script check_process() no longer finds parent bgpd process Message-ID: <bug-238306-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238306 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@FreeBSD.org Reporter: stewart.morgan@gmail.com Flags: maintainer-feedback?(hrs@FreeBSD.org) Assignee: hrs@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 w= ould be to change check_process() to use: /bin/pgrep -U 0 -f 'bgpd'. I've tested this on 11.2 and 12.0 (amd64). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238306-7788>