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
The duplicate status of this bug is still wrong.
A workaround has been provided at https:/ /github. com/lxc/ lxd/issues/ 2930#issuecomme nt-1418752618
Inside the container:
### Ubuntu 18.04, 20.04 d/local/ usr.sbin. tcpdump
echo "/dev/pts/* rw," >/etc/apparmor.
systemctl reload apparmor
### Ubuntu 22.04 d/local/ usr.bin. tcpdump
echo "/dev/pts/* rw," >/etc/apparmor.
systemctl reload apparmor