[Bug 287096] sysutils/py-salt: Setting process titles breaks service management when running multiple Salt services

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 May 2025 11:39:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287096

            Bug ID: 287096
           Summary: sysutils/py-salt: Setting process titles breaks
                    service management when running multiple Salt services
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: ahktenzero+freebsd@mohorovi.cc
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@FreeBSD.org)

In resolving #285053, py-setproctitle was added as a dependency of py-salt and
the rc scripts for the master and minion were updated to match the process
titles set by Salt. This fixed the reported issues with restarting those
services.

The rc scripts for the other services included with Salt (salt_api, salt_proxy,
salt_syndic) were not changed, and so have the same problem reported in #285053
with service status and restart. Additionally, these processes end up with the
same "python3.11: MainProcess" title as the master when setproctitle is
available, so adding process matching to the rc script is not going to work. 

I suggest reverting these change and instead adding the patch from #285053
which disables changing process titles completely. I've done this on my local
ports tree and it fixes the problem.

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