Skip to content

Conversation

Ein-nor
Copy link
Contributor

@Ein-nor Ein-nor commented Oct 22, 2023

Fix issue #5983 with actions that are executed remotely on the server, for example linux.service or linux.check_processes.
The following error message was returned: /opt/stackstorm/st2/bin/python: bad interpreter: No such file or directory
Change the shebang line #!/opt/stackstorm/st2/bin/python to #!/usr/bin/env python.
It was also changed #!/usr/bin/python to #!/usr/bin/env python to have it consistent

@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Oct 22, 2023
@CLAassistant
Copy link

CLAassistant commented Oct 22, 2023

CLA assistant check
All committers have signed the CLA.

@arm4b arm4b added this to the 3.9.0 milestone Oct 23, 2023
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZoeLeah Thanks for the fix 👍 Appreciate the contribution.

The CI is happy, the PR just needs a better changelog, otherwise looks good!

@arm4b arm4b added the bug label Oct 23, 2023
@arm4b arm4b modified the milestones: 3.9.0, 3.8.1 Oct 23, 2023
@arm4b
Copy link
Member

arm4b commented Oct 23, 2023

Because it's a bugfix, I'm thinking we can plan to include it in the upcoming v3.8.1 patch version.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@arm4b arm4b enabled auto-merge October 24, 2023 12:30
@arm4b arm4b merged commit 7a84658 into StackStorm:master Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug size/S PR that changes 10-29 lines. Very easy to review.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

action linux.service or linux.check_processes cannot be executed on remote host
4 participants