This affects Ubuntu 18.04 LXD containers as well. As per previous mentions for tcpdump: a) using script does not change anything b) connecting via ssh and not lxc exec has no effect c) disabling apparmour for tcpdump does work: i.e.
/bin/ln -s /etc/apparmor.d/usr.sbin.tcpdump /etc/apparmor.d/disable/ /sbin/apparmor_parser -R /etc/apparmor.d
This affects Ubuntu 18.04 LXD containers as well.
As per previous mentions for tcpdump:
a) using script does not change anything
b) connecting via ssh and not lxc exec has no effect
c) disabling apparmour for tcpdump does work:
i.e.
/bin/ln -s /etc/apparmor. d/usr.sbin. tcpdump /etc/apparmor. d/disable/ parser -R /etc/apparmor.d
/sbin/apparmor_