Skip to content

Commit

Permalink
Added AppArmor section
Browse files Browse the repository at this point in the history
resolves #3
  • Loading branch information
cmspam authored Apr 28, 2024
1 parent cedfe67 commit d7454bf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,21 @@ We can fix this by adding the following kernel boot parameter, then reboot:

If someone comes up with a way to continue to use unified hierarchy with working cpuset functionality, please let me know.

# AppArmor

If you have AppArmor enabled on your setup, you may need to add permissions to dnsmasq so that it can work with Incus without permission errors. Here is an example of how to do so with OpenSuse Tumbleweed, but it should be similar for other distributions.

Please edit the file:
```/etc/apparmor.d/usr.sbin.dnsmasq```

You will find a line like below, for Tumbleweed it was line 56 or so:
```/var/log/dnsmasq*.log w,```

Under that line, please add
```/var/lib/incus/** rw,```



# OpenVSwitch

If you use OpenVSwitch, add this line to your docker/podman command:
Expand Down

0 comments on commit d7454bf

Please sign in to comment.