Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2022 12:05:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 256832] sysutils/py-salt: presence of devel/py-setproctitle breaks rc.d script
Message-ID:  <bug-256832-21822-hxurKgWJhE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256832-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256832-21822@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #4 from ruben@verweg.com ---
Ah this one still needs to have feedback.

$ sudo pgrep -fl salt-
28354 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28357 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28902 /usr/local/bin/python3.8 /usr/local/bin/salt-minion -c
/usr/local/etc/salt -d
28358 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28359 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
28360 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28361 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28362 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28363 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
28364 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d28366 /usr/local/bin/python3.8 /usr/local/bin/salt-ma=
ster
-c /usr/local/etc/salt -d
28367 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d
40979 /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d

Using command_interpreter works

$ sudo pkg install py38-setproctitle
=E2=80=A6
$ sudo service salt_minion restart
$ sudo service salt_master restart
$ sudo pgrep -fl salt-
25572 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-minion -c
/usr/local/etc/salt -d KeepAlive MultiMinionProcessManager MinionProcessMan=
ager
25900 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d ProcessManager
25906 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d ZeroMQPubServerChannel
25907 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d EventPublisher
25908 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d Maintenance
25909 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d ReqServer_ProcessManager
25910 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorkerQueue
25911 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorker-0
25912 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorker-1
25913 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorker-2
25914 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorker-3
25916 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d MWorker-4
25917 python3.8: /usr/local/bin/python3.8 /usr/local/bin/salt-master -c
/usr/local/etc/salt -d FileserverUpdate

Using command_interpreter no longer works as the proctitle has changed

$ sudo service salt_master status
salt_master is not running.

change command_intepreter to procname makes the rc.d logic works again.

$ sudo service salt_master status
salt_master is running as pid 25900.

As python setproctitle is in salt=E2=80=99s requirements mentioned earlier,=
 I=E2=80=99m adding
a revised patch to make it a dependency

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256832-21822-hxurKgWJhE>