Date: Thu, 03 Aug 2017 14:44:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221203] rc.subr fails to recognize daemons using interpreters when they use setproctitle Message-ID: <bug-221203-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221203 Bug ID: 221203 Summary: rc.subr fails to recognize daemons using interpreters when they use setproctitle Product: Base System Version: 10.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: mat@FreeBSD.org Created attachment 184994 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184994&action=edit v1 Some daemon runs, say, with: /usr/local/bin/perl -wT /usr/local/share/munin/munin-asyncd And for the few first milliseconds, `ps -ww -o pid= -o jid= -o command=` that rc.subr uses will return that as the command, and then, it starts working, and then, the command ends up being: munin-asyncd [aragorn.in.absolight.net] [idle] (perl) So, here is a patch that will support "<command_name>*(<interp>)" -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221203-8>
