mdegat01 / addon-loki

Loki for Home Assistant
MIT License
10 stars 8 forks source link

AppArmor denying access to required files in Loki 2.4.0 #122

Closed mdegat01 closed 2 years ago

mdegat01 commented 2 years ago

Describe the bug AppArmor errors for Loki trying to access files as of version 2.4.0 in the latest version of this addon

To Reproduce Steps to reproduce the behavior:

  1. Install addon
  2. Try and start it

Expected behavior Should start, does not

Logs From the audit log of the system

| 2021-11-10 16:26:13 | AVC apparmor="DENIED" operation="mkdir" profile="7eb274d5_loki//loki" name="/run/s6/services/loki/wal/" pid=3800552 comm="loki" requested_mask="c" denied_mask="c" fsuid=12345 ouid=12345
-- | -- | --
| 2021-11-10 16:26:13 | AVC apparmor="DENIED" operation="open" profile="7eb274d5_loki//loki" name="/proc/768/cpuset" pid=3800552 comm="loki" requested_mask="r" denied_mask="r" fsuid=12345 ouid=12345
-- | -- | --

Environment (please complete the following information):

Additional context

mdegat01 commented 2 years ago

Fix has been merged into 1.9.1 and appears to be working on edge