Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221203

            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=3D184994&action=
=3Dedit
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=3D -o jid=3D -o command=
=3D` 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>)"

--=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-221203-8>