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 more jail mount to ddns-go to fix Get IP from CLI #960

Merged
merged 4 commits into from
Nov 5, 2023

Conversation

Ricky-Hao
Copy link
Contributor

Because of procd's jail mount, we can't run command like sh, ip, grep in ddns-go.
To fix this problem, I set PATH to procd env and mount multiple paths to jail.

  • /bin/: for sh
  • /sbin/: for ip
  • /usr/: for ip and it relate libs

@1715173329
Copy link
Member

Then let's simply remove the ujail.

@Ricky-Hao
Copy link
Contributor Author

I have complete remove the jail.

@1715173329 1715173329 merged commit 66823d3 into immortalwrt:master Nov 5, 2023
@1715173329
Copy link
Member

Merged, thank you!

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