From 2e78fa79bbaebb358d2657c397180d2d08d69b12 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Jun 2014 13:21:07 +0200 Subject: tmpfiles: add new "L+" command as stronger version of "L", that removes the destination before creating a symlink Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n". --- tmpfiles.d/etc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfiles.d') diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf index 1294c9408b..e809dff2aa 100644 --- a/tmpfiles.d/etc.conf +++ b/tmpfiles.d/etc.conf @@ -9,5 +9,5 @@ L /etc/os-release - - - - ../usr/lib/os-release L /etc/localtime - - - - ../usr/share/zoneinfo/UTC -L /etc/mtab - - - - ../proc/self/mounts +L+ /etc/mtab - - - - ../proc/self/mounts L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf -- cgit v1.2.3-54-g00ecf