Postinstall fails with Error: Could not reload the firewall

My YunoHost server

Hardware: Turris Omna
YunoHost version: 4.1.6
I have access to my server : SSH & webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Post-Installation Log : Link

Description of my issue

I am trying to install YunoHost in a freshly created LXC (Debian Buster from images.linuxcontainers.org) on my Turris Omnia (TurrisOS 5.1.7, Kernel 4.14.214).
All my attempts always ended with

Warning: You cannot play with iptables here. You are either in a container or your kernel does not support it
Warning: You cannot play with ip6tables here. You are either in a container or your kernel does not support it

and

Error: Could not reload the firewall

I tried it with and without running the script resetPostinstall.sh as suggested here.

Any help that points me in the right direction would be greatly appreciated.

That’s probably because you should run the container as privileged (+nesting allowed)

Thanks for your reply, Aleks. I created a new container with nesting configuration included. Then I installed yunohost as su.
Unfortunately, the result remains unchanged. Perhaps I have to change some LXC config entries? Any ideas?
Here’s my lxc.conf and nesting.conf for lxc-create.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.