configpolicy/roles/homeassistant/templates
Dustin 679ea47bf7 r/homeassistant: Protect ~/.ssh
When the Home Assistant container restarts, Podman relabels the entire
`/var/lib/homeassistant` directory as `container_file_t`.  Since the
*homeassistant* user's home directory is `/var/lib/homeassistant`, its
`~/.ssh` directory is thus also relabeled, preventing the SSH daemon
from accessing it.  Since Home Assistant itself does not need access to
this path, we can tell systemd to mount an empty tmpfs filesystem there
in the service unit's mount namespace.  This way, when Podman relabels
the directory, it will change the label of the tmpfs mount point instead
of the actual directory.
2023-06-08 10:05:36 -05:00
..
homeassistant.httpd.conf.j2 r/homeassistant: Proxy for Zigbee2MQTT frontend 2022-12-12 17:47:05 -06:00
homeassistant.service.j2 r/homeassistant: Protect ~/.ssh 2023-06-08 10:05:36 -05:00