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

Add opt bin dirs to PATH if /usr/local is readonly #90

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Aug 16, 2022

Similar to #55, when installing on an OS that has a readonly /usr partition we ensure that the rancher-system-agent env knows about the bin path of rke2/k3s by extending the PATH in the systemd env file.

The main thing this fixes is listing etcd snapshots on such an OS as the system-agent will call the rke2 binary for that.

Signed-off-by: Cyrill Troxler <cyrill@nine.ch>
@vwbusguy
Copy link
Contributor

vwbusguy commented Jul 27, 2023

You might consider doing this if /usr/local is rw as well:

rancher/rancher#40624 (comment)

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