mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-31 18:55:32 +01:00
Fix profile
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 1.4.2
|
||||
|
||||
- Second run for AppArmor profile
|
||||
|
||||
## 1.4.1
|
||||
|
||||
- Fix AppArmor profile
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user