[Bug 1064] iptables-save fails silently in unprivileged lxc/lxd container

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue May 3 12:39:47 CEST 2016


--- Comment #4 from Philipp Gassmann <phiphi at phiphi.ch> ---
Thank you. I don't have experience testing kernels. I just use regular Ubuntu.

Can you quickly explain what was changed that should fix the issue? how is it
fixed, should iptables-save now work within unprivileged lxc/lxd containers?

Steps to reproduce:

    Install ubuntu 16.04 with btrfs filesystem.
    Install lxd: apt install lxd
    lxd init
    create a new container: lxc launch ubuntu:xenial iptables-test
    Enter container: lxc exec iptables-test -- bash
    Add iptable rule: iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
    List rules: iptables -nL
    execute: iptables-save
    No output is returned

You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20160503/a7d8f0e9/attachment.html>

More information about the netfilter-buglog mailing list