Date: Fri, 20 Mar 2015 14:14:15 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198736] net-mgmt/smokeping init script fails to check pid correctly Message-ID: <bug-198736-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198736 Bug ID: 198736 Summary: net-mgmt/smokeping init script fails to check pid correctly Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: rodrigo@FreeBSD.org Reporter: vince@unsane.co.uk Assignee: rodrigo@FreeBSD.org Flags: maintainer-feedback?(rodrigo@FreeBSD.org) Created attachment 154574 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154574&action=edit patch to the smokeping rc.d init file The init script for smokeping doesn't pass the the interpreter (perl) to check_pidfile so will claim smokeping isnt running when it is. adding $command_interpreter as the 3rd argument to check_pidfile fixes this. I have attached a patch for this Also there should probably be a sleep 1 or something in smokeping_stop() as a restart happens too fast and tries to start it again before it dies but I'm unsure of best practices for that situation so I havent tried to patch this. -- 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-198736-13>