esphome: remove ProcSubset from serviceConfig

Remove ProcSubset from esphome serviceConfig because esphome/bwrap needs to
access it.
According to
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#ProcSubset=
ProcSubset isn't even recommended for most programs.
Fixes #262674
This commit is contained in:
Meghea Iulian 2023-10-22 09:13:56 +03:00
parent 6b4e45787b
commit bff068e514
No known key found for this signature in database
GPG Key ID: 9FA665644E968CF6

View File

@ -112,7 +112,7 @@ in
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "invisible";
ProcSubset = "pid";
ProcSubset = "all"; # Using "pid" breaks bwrap
ProtectSystem = "strict";
#RemoveIPC = true; # Implied by DynamicUser
RestrictAddressFamilies = [