From: Peter Rajnoha Date: Thu, 23 Feb 2012 14:24:30 +0000 (+0000) Subject: Use 'd' instead of 'D' in tmpfiles configuration to not overwrite any existing directory. X-Git-Tag: v2_02_96~346 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f84d6048cf3385c5fdb8de96dfc9d87463ab8fb5;p=lvm2.git 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. --- 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 -