mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #1239] SELinux prevents tacticalagent from starting after agent upgrade #2709
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joeldeteves on GitHub (Aug 8, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1239
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
Every time the agent is upgraded on an SELinux based distro, the agent fails to start with the following error:
To Reproduce
Steps to reproduce the behavior:
Workaround
The issue happens because if the binary is moved using
mvfrom another directory with different SELinux permissions, it will keep those permissions.The workaround is to run the following command to repair the permission and start the agent:
Expected behavior
The agent should have the correct permissions so it can start after upgrade
Additional context
See https://serverfault.com/questions/957084/failed-at-step-exec-spawning-permission-denied for more info
@wh1te909 commented on GitHub (Aug 8, 2022):
Fix will be in next release but since I had to change code in the agent update function, you will need to manually update the agent to the next version to get it to a working state.
@joeldeteves commented on GitHub (Aug 8, 2022):
Thanks for the quick fix!