]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: stop creating /etc/localtime symlink
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Jul 2019 17:12:02 +0000 (19:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Jul 2019 17:12:02 +0000 (19:12 +0200)
If the symlink is not present, UTC is the default. There *is* a slight
advantage to it: humans might expect it to be present and look in /etc.
But it might interfere with post-install scripts and it doesn't serve
any technical purpose. Let's not create it. Fixes #13183.

tmpfiles.d/etc.conf.m4

index 7ad908c9bf274301ae754cb2cabb8ad1391ea7d4..123de6ea42ecac3acbfec879b2a3c5419f1e7881 100644 (file)
@@ -8,7 +8,6 @@
 # See tmpfiles.d(5) for details
 
 L /etc/os-release - - - - ../usr/lib/os-release
-L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
 L+ /etc/mtab - - - - ../proc/self/mounts
 m4_ifdef(`HAVE_SMACK_RUN_LABEL',
 t /etc/mtab - - - - security.SMACK64=_