Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AppArmor: Explicitly allow netlink raw socket for Supervisor (#370)
The Supervisor uses netlink raw sockets to get access to udev events sent through netlink. Technically, the rules so far have denied all raw sockets. However, in practice it seems that netlink raw sockets have still been working. For unknown reasons, in Debian Bookworm that behavior changed: The rule now also denies netlink raw sockets. This new ruleset starts off with the default setting (where almost everything seems to be denied), and enables explicitly what is needed in Supervisor. In tests this ruleset worked on Home Assistant OS as well as Debian Bookworm. Fixes: home-assistant/supervisor#4381
- Loading branch information