Skip to content

Metallb denied by apparmor on v1.34.1 #5238

@jadams

Description

@jadams

Summary

Apparmor denies metallb's raw bind request to reply to arps

What Should Happen Instead?

Metallb needs to raw bind to send arps

Reproduction Steps

  1. microk8s enable metallb
  2. dmesg
  3. audit: type=1400 audit(1758143643.160:1674): apparmor="DENIED" operation="bind" class="net" profile="cri-containerd.apparmor.d" pid=39088 comm="speaker" family="packet" sock_type="raw" protocol=0 requested="bind" denied="bind"

Introspection Report

Can you suggest a fix?

fix apparmor rules changed in v1.34.1

Are you interested in contributing with a fix?

no found a fix so I guess yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions