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

Testnet-4 v0.4.0.7 installation fails in lxd containers. #59

Open
artmakh opened this issue Jun 22, 2021 · 0 comments
Open

Testnet-4 v0.4.0.7 installation fails in lxd containers. #59

artmakh opened this issue Jun 22, 2021 · 0 comments

Comments

@artmakh
Copy link

artmakh commented Jun 22, 2021

Steps to reproduce:

  1. Launch lxd ubuntu containers with enabled nesting and in privileged mode lxc launch ubuntu:lts kiranode -c security.nesting=true -c security.privileged=true
  2. Start installation of Kira network as it's mentioned in README
  3. Get fail at this setup step sysctl -w fs.inotify.max_user_watches=524288

Explanation
LXD containers, even in privileged mode doesn't provide full sysctl access to kernel. All needed tuning is made on host machine via lxd config, or in host-kernel itself.

Possible fixes
Before modifying kernel config check if desired already parameter have correct value.

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

No branches or pull requests

1 participant