[Bug 221203] rc.subr fails to recognize daemons using interpreters when they use setproctitle

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 3 14:44:40 UTC 2017


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 at FreeBSD.org
          Reporter: mat at 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.


More information about the freebsd-bugs mailing list