summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-09-14 19:46:55 +0200
committerGitHub <noreply@github.com>2017-09-14 19:46:55 +0200
commit6579a622ec78d78764855cb8fca4e9a0dd188049 (patch)
tree5c923a568f34e479e3deb3fc2db9a34fe467db6e /units
parentbff8f2543b27d44d8b245eb78ad7e47607d4a53f (diff)
parent1c68232ee2584e20eda31e5ddce91c30ef6ab86c (diff)
downloadsystemd-6579a622ec78d78764855cb8fca4e9a0dd188049.tar.gz
Merge pull request #6790 from poettering/unit-unsetenv
add UnsetEnvironment= unit file setting, in order to fix #6407
Diffstat (limited to 'units')
-rw-r--r--units/debug-shell.service.in2
-rw-r--r--units/getty@.service.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in
index 59f6e494b3..f72e5ef6b6 100644
--- a/units/debug-shell.service.in
+++ b/units/debug-shell.service.in
@@ -28,7 +28,7 @@ KillSignal=SIGHUP
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
-Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
+UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
[Install]
WantedBy=sysinit.target
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index b62f1b9225..ff1b3c3d87 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -51,7 +51,7 @@ SendSIGHUP=yes
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
-Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
+UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
[Install]
WantedBy=getty.target