I tried reproducing the issue on a 22.04 VM with a 22.04 container and I got some weird behavior, not consistent to what was reported in the comments, so I appreciate if anyone can also take a look.
What I found is that I can only reproduce the issue when running tcpdump in --mode=non-interactive, regardless of AppArmor - I also didn't see any AppArmor denials in the logs when running the test.
I tried reproducing the issue on a 22.04 VM with a 22.04 container and I got some weird behavior, not consistent to what was reported in the comments, so I appreciate if anyone can also take a look.
What I found is that I can only reproduce the issue when running tcpdump in --mode= non-interactive , regardless of AppArmor - I also didn't see any AppArmor denials in the logs when running the test.
I have pasted my steps in https:/ /pastebin. canonical. com/p/8NZngJF6n m/