Bug 79306

Summary: RFE: systemd-nspawn: allow using existing /etc/localtime instead of host timezone
Product: systemd Reporter: Jonathan Liu <net147>
Component: generalAssignee: Djalal Harouni <tixxdz>
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: enhancement    
Priority: medium CC: david, j, rektide, tixxdz
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jonathan Liu 2014-05-27 12:14:08 UTC
If /etc/localtime is a symbolic link to /usr/share/zoneinfo/... then systemd-nspawn will set the timezone of the container to the timezone of the host.

It should be possible to use the existing /etc/localtime of the systemd-nspawn container instead of replacing it with the host timezone.
Comment 1 Lennart Poettering 2018-07-18 14:37:03 UTC
This has been implemented in systemd-nspawn 239. Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.