diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-16 23:28:54 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-16 23:31:08 +0100 |
commit | 8b9cad01e9619f53dc5a65892ca6a09ca5de3447 (patch) | |
tree | 2a3fa484827f57c70e16bb00d01fcae59b5811d7 /build-aux/cuirass | |
parent | 139a9887843d0ea7dd724c4dd0d00470337370b3 (diff) | |
download | patches-8b9cad01e9619f53dc5a65892ca6a09ca5de3447.tar patches-8b9cad01e9619f53dc5a65892ca6a09ca5de3447.tar.gz |
services: shepherd: Spawn services with nothing but the PATH variable.
Previously, services spawned with 'make-forkexec-constructor' &
co. would all inherit the environment variables of PID 1, which includes
things like 'BOOT_IMAGE'. This change resets it to the bare minimum.
* gnu/services/shepherd.scm (shepherd-configuration-file): Add call to
'default-environment-variables'. Remove 'setenv' call.
Diffstat (limited to 'build-aux/cuirass')
0 files changed, 0 insertions, 0 deletions