Bug 79306 - RFE: systemd-nspawn: allow using existing /etc/localtime instead of host timezone
Summary: RFE: systemd-nspawn: allow using existing /etc/localtime instead of host time...
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium enhancement
Assignee: Djalal Harouni
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-27 12:14 UTC by Jonathan Liu
Modified: 2018-07-18 14:37 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.