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 stepsysctl -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.
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 stepsysctl -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.