Fixed
Details
Assignee
Ole Petter OrhagenOle Petter OrhagenReporter
Kristian AmlieKristian AmlieLabels
Story Points
5Priority
(None)Days in progress
3Fix versions
Sprint
NoneBacklog
yes
Details
Details
Assignee
Ole Petter Orhagen
Ole Petter OrhagenReporter
Kristian Amlie
Kristian AmlieLabels
Story Points
5
Priority
Days in progress
3
Fix versions
Sprint
None
Backlog
yes
Zendesk Support
Zendesk Support
Zendesk Support
Checklist
Checklist
Checklist
Created March 8, 2021 at 8:26 AM
Updated June 25, 2024 at 12:02 PM
Resolved June 16, 2021 at 6:47 AM
Original discussion on Mender Hub.
The core issue is that the shell is not launched as a login shell, and therefore it does not pick up the default PATH as it should. The solution is to add the
-l
argument to the shell.Acceptance criteria:
ShellArguments
key (string list) added tomender-connect.conf
.Defaults to
["-l"]
Arguments are used when calling
ShellCommand
.Unit tests
Make sure to test when setting it to empty, can easily be confused with the default.
Documented in https://docs.mender.io/2.6/add-ons/remote-terminal/mender-connect-configuration-file/mender-connect-configuration-options