Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra space in process title #67779

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

asomers
Copy link
Contributor

@asomers asomers commented Feb 27, 2025

Remove an extra space in daemons' process title.
before:

python3.11:  MultiMinionProcessManager MinionProcessManager (python3.11)

after:

python3.11: MultiMinionProcessManager MinionProcessManager (python3.11)

The extra space confuses FreeBSD's RC script. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285053

What does this PR do?

Changes a double space in the minion's process title into a single space

What issues does this PR fix or reference?

Partially fixes service salt_minion status and related commands on FreeBSD. Some additional changes are necessary to completely fix the issue.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285053

Previous Behavior

The process title had two spaces between "python3.11:" and "MultiMinionProcessManager"

New Behavior

The process title only has one space.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Remove an extra space in daemons' process title.
before:
```
python3.11:  MultiMinionProcessManager MinionProcessManager (python3.11)
```
after:
```
python3.11: MultiMinionProcessManager MinionProcessManager (python3.11)
```
The extra space confuses FreeBSD's RC script.  See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285053
@dwoz
Copy link
Contributor

dwoz commented Mar 1, 2025

@asomers Looks good, can you please add a unit test and changelog? Also, is this something that should be fixed in 3006.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants