Skip to content

Apparmor policy is broken #549

@jacekowski

Description

@jacekowski

Issue related to

Sunsynk / mbusd Home Assistant Add-On

Describe the issue/bug

Newly added apparmor policy breaks the addon.

Addon can't connect to MQTT or to RS485-ethernet converter

Expected behavior
Policy that works

network capability needs to be added to the policy.

Your environment

  • Home Assistant version: 2025.10.3
  • Addon:
    • Name: sunsynk-multi
    • Version: 0.9.2
  • Inverter:
    • Make: Sunsynk
    • Model: N/A
    • Firmware: N/A
  • Adaptor details:
    • RS485 to ethernet

You configuration

INVERTERS:
  - SERIAL_NR: "2205209118"
    HA_PREFIX: sunsynk
    MODBUS_ID: 1
    PORT: tcp://10.42.10.169:502

Logs



[940443.432526] audit: type=1400 audit(1761254560.296:370): apparmor="DENIED" operation="create" profile="4bb530c7_hass-addon-sunsynk-multi" pid=2368722 comm="python3" family="inet" sock_type="dgram" protocol=17 requested_mask="create" denied_mask="create"
[940443.465398] audit: type=1400 audit(1761254560.328:371): apparmor="DENIED" operation="create" profile="4bb530c7_hass-addon-sunsynk-multi" pid=2368722 comm="python3" family="inet" sock_type="stream" protocol=6 requested_mask="create" denied_mask="create"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions