首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >失败lxd init

失败lxd init
EN

Stack Overflow用户
提问于 2020-04-03 16:16:22
回答 1查看 547关注 0票数 1

在我运行lxd init --auto之后,它失败了

代码语言:javascript
复制
$ lxd init --auto
Error: Failed to create network 'lxdbr0': Failed adding DHCP/DNS access rules for network "lxdbr0" (ip): Failed apply nftables config: Failed to run: nft 
table ip lxd {
chain in.lxdbr0 {
        type filter hook input priority 0; policy accept;
        iifname "lxdbr0" tcp dport 53 accept
        iifname "lxdbr0" udp dport 53 accept
        iifname "lxdbr0" udp dport 67 accept

}

chain out.lxdbr0 {
        type filter hook output priority 0; policy accept;
        oifname "lxdbr0" tcp sport 53 accept
        oifname "lxdbr0" udp sport 53 accept
        oifname "lxdbr0" udp sport 67 accept

}
}
: Error: Could not process rule: No such file or directory

      ^^^^^^^^^
Error: Could not process rule: No such file or directory

      ^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Could not process rule: No such file or directory

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

我一直在尝试重新安装一个lxd,但是再次出现错误(使用snap安装lxd)。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-29 09:52:20

我知道这个问题很老,但我也有同样的问题。在搜索错误信息之后就在这里结束了。仍然没有解决方案,因此这可能会有所帮助:在我的例子中,lxc错误地检测到我使用的是nftable而不是iptables,因为iptables是空的。我添加了一个iptable规则,即重新启动lxd,它现在正在工作。更多信息:https://github.com/lxc/lxd/issues/8724

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61016116

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档