Raw socket access

I too faced similar kind of issues with application snap. Observed below message in debug audit: type=1400 audit(1641298347.576:67): apparmor="DENIED" operation="create" profile="snap.lonifd.lonifd" pid=3867 comm="lonifd" family="packet" sock_type="dgram" protocol=8 requested_mask="create" denied_mask="create"

I am mainly trying to open RAW SOCKET in my application and connected network,netwrok-bind,network-observe. I am using 2.53.4 snapd version. How can I figure out the required plugin for my application?

@jithcr I moved your comment to a new topic, the issue you are describing is different from the other post.

Can you try adding the following plug to your snap:

    interface: kubernetes-support
    flavor: autobind-unix

    command: foo
      - ...
      - autobind-unix