mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
system: Do not set 'TZ'.
Fixes <https://bugs.gnu.org/29212>. Reported by Diego Nicola Barbato <dnbarbato@posteo.de>. * gnu/system.scm (operating-system-environment-variables): Remove "TZ".
This commit is contained in:
parent
da4a707c88
commit
5475749960
1 changed files with 2 additions and 1 deletions
|
@ -727,7 +727,8 @@ (define (operating-system-environment-variables os)
|
|||
"Return the environment variables of OS for
|
||||
@var{session-environment-service-type}, to be used in @file{/etc/environment}."
|
||||
`(("LANG" . ,(operating-system-locale os))
|
||||
("TZ" . ,(operating-system-timezone os))
|
||||
;; Note: No need to set 'TZ' since (1) we provide /etc/localtime, and (2)
|
||||
;; it doesn't work for setuid binaries. See <https://bugs.gnu.org/29212>.
|
||||
("TZDIR" . ,(file-append tzdata "/share/zoneinfo"))
|
||||
;; Tell 'modprobe' & co. where to look for modules.
|
||||
("LINUX_MODULE_DIRECTORY" . "/run/booted-system/kernel/lib/modules")
|
||||
|
|
Loading…
Reference in a new issue