Comment 4 for bug 1667016

Revision history for this message
Brian Candler (b-candler) wrote :

The duplicate status of this bug is still wrong.

A workaround has been provided at https://github.com/lxc/lxd/issues/2930#issuecomment-1418752618

Inside the container:

### Ubuntu 18.04, 20.04
echo "/dev/pts/* rw," >/etc/apparmor.d/local/usr.sbin.tcpdump
systemctl reload apparmor

### Ubuntu 22.04
echo "/dev/pts/* rw," >/etc/apparmor.d/local/usr.bin.tcpdump
systemctl reload apparmor