Fix profile

This commit is contained in:
Pascal Vizeli
2021-02-16 14:20:54 +00:00
parent 10ff4fa823
commit 2b553f2123
3 changed files with 15 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 1.4.2
- Second run for AppArmor profile
## 1.4.1
- Fix AppArmor profile

View File

@@ -3,19 +3,22 @@
profile dnsmasq flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
file,
# S6-Overlay & Bashio
/init rix,
/bin/** ix,
/usr/bin/** ix,
/usr/lib/bashio/** ix,
/etc/s6/** ix,
/run/s6/** ix,
/etc/s6/** rix,
/run/s6/** rwix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix
/etc/cont-finish.d/** rwix,
# Data access
/data/** rw,
/run/** rwk,
# Execution program
/usr/sbin/dnsmasq cx,
@@ -31,10 +34,12 @@ profile dnsmasq flags=(attach_disconnected,mediate_deleted) {
network inet raw,
network inet6 raw,
/usr/sbin/dnsmasq rm,
/etc/dnsmasq.conf rw,
/run/*dnsmasq*.pid w,
/run/dnsmasq/ r,
/run/dnsmasq/* rw,
/run/dnsmasq/** rw,
/tmp/* rw,
/proc/* r,
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "Dnsmasq",
"version": "1.4.1",
"version": "1.4.2",
"slug": "dnsmasq",
"description": "A simple DNS server",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/dnsmasq",