From f84d6048cf3385c5fdb8de96dfc9d87463ab8fb5 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 23 Feb 2012 14:24:30 +0000 Subject: [PATCH] Use 'd' instead of 'D' in tmpfiles configuration to not overwrite any existing directory. ...that happens when systemd creates it first (e.g. based on a .socket unit) before the tmpfiles.d content is executed. --- scripts/lvm2_tmpfiles_red_hat.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lvm2_tmpfiles_red_hat.conf.in b/scripts/lvm2_tmpfiles_red_hat.conf.in index 48b02f97a..110261661 100644 --- a/scripts/lvm2_tmpfiles_red_hat.conf.in +++ b/scripts/lvm2_tmpfiles_red_hat.conf.in @@ -1,2 +1,2 @@ -D @DEFAULT_LOCK_DIR@ 0700 root root - -D @DEFAULT_RUN_DIR@ 0700 root root - +d @DEFAULT_LOCK_DIR@ 0700 root root - +d @DEFAULT_RUN_DIR@ 0700 root root -