[Bug 256832] sysutils/py-salt: presence of devel/py-setproctitle breaks rc.d script

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Jun 2021 15:52:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256832

            Bug ID: 256832
           Summary: sysutils/py-salt: presence of devel/py-setproctitle
                    breaks rc.d script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ruben@verweg.com
                CC: christer.edwards@gmail.com, sbz@FreeBSD.org
                CC: christer.edwards@gmail.com, sbz@FreeBSD.org

When devel/py-setproctitle is installed as a dependency of another software, it
will cause salt minion to adjust its process title from (python3.8 case)

2539 0 /usr/local/bin/python3.8 /usr/local/bin/salt-minion -c
/usr/local/etc/salt -d

to

8656 0 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-minion -c
/usr/local/etc/salt -d KeepAlive MultiMinionProcessManager MinionProcessManager
(python3.8)

the rc.d script, using "command_interpreter", cannot assert the running state
of the minion and when used together in a combination with a process pacemaker
(puppet, monit etc) will cause numerous copies of the minion running.

Using "procname" instead of "command_interpreter" in the rc.d script fixes
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.