From 55745f2054a1bc132ee415ddd72441bac52b89b6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jun 2014 13:29:25 +0200 Subject: [PATCH] tmpfiles: add minimal tmpfiles snippet to rebuild the most essential stuff from /etc --- Makefile.am | 3 ++- tmpfiles.d/etc.conf | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tmpfiles.d/etc.conf diff --git a/Makefile.am b/Makefile.am index abf8a2bb3..53082cf2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1742,7 +1742,8 @@ dist_tmpfiles_DATA = \ tmpfiles.d/systemd-nologin.conf \ tmpfiles.d/tmp.conf \ tmpfiles.d/x11.conf \ - tmpfiles.d/var.conf + tmpfiles.d/var.conf \ + tmpfiles.d/etc.conf if HAVE_SYSV_COMPAT dist_tmpfiles_DATA += \ diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf new file mode 100644 index 000000000..e8368f5dc --- /dev/null +++ b/tmpfiles.d/etc.conf @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# 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 -- 2.30.2