Skip to content

Commit

Permalink
dnsmasq apparmor tweeks (home-assistant#1864)
Browse files Browse the repository at this point in the history
* dnsmasq apparmor tweeks

* Update apparmor.txt
  • Loading branch information
pvizeli authored Feb 17, 2021
1 parent 9fd88b5 commit 6e86f19
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions dnsmasq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.4.4

- Make it align to our base profile

## 1.4.3

- Fix signal handling
Expand Down
9 changes: 6 additions & 3 deletions dnsmasq/apparmor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ profile dnsmasq flags=(attach_disconnected,mediate_deleted) {
/init rix,
/bin/** ix,
/usr/bin/** ix,
/usr/lib/bashio/** ix,
/etc/s6/** rix,
/run/s6/** rwix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/run/** rwk,

# Data access
# Bashio
/usr/lib/bashio/** ix,
/tmp/** rw,

# Access to Options.json and other files within your addon
/data/** rw,
/run/** rwk,

# Execution program
/usr/sbin/dnsmasq cx,
Expand Down
2 changes: 1 addition & 1 deletion dnsmasq/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dnsmasq",
"version": "1.4.3",
"version": "1.4.4",
"slug": "dnsmasq",
"description": "A simple DNS server",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/dnsmasq",
Expand Down

0 comments on commit 6e86f19

Please sign in to comment.