Dustin C. Hatch 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
2023-05-09 21:55:25 -05:00
2023-05-23 08:33:09 -05:00
2023-05-09 21:55:25 -05:00
2023-06-08 10:05:36 -05:00
2023-05-23 09:52:50 -05:00
2020-02-22 16:28:06 -06:00
2018-04-08 12:20:03 -05:00
2018-08-19 14:17:48 -05:00
2018-03-27 20:44:43 -05:00
2018-07-01 15:19:20 -05:00
2018-10-07 21:42:18 -05:00
2022-09-01 17:29:34 -05:00
2022-08-10 21:55:54 -05:00
2020-08-29 14:22:17 -05:00
2018-04-08 10:11:43 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2023-05-09 21:37:46 -05:00
2021-10-31 14:28:27 -05:00
2018-03-27 20:44:43 -05:00
2018-08-13 20:25:22 -05:00
2022-12-23 08:47:31 -06:00
2019-09-19 19:51:45 -05:00
2022-08-11 21:40:19 -05:00
2021-10-10 16:09:15 -05:00
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
7.7 MiB
Languages
Jinja 86.2%
Python 6.6%
Shell 4.6%
Groovy 2.6%