KiraCore / testnet

public testnet coordination
Other
31 stars 28 forks source link

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

Open artmakh opened 3 years ago

artmakh commented 3 years ago

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.