Bug introduced in 3a04bddeed in Dec 2014. --- dracut.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut.sh b/dracut.sh index 8232fa4..a50eaff 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1260,8 +1260,8 @@ fi || tmpfilesdir=$(pkg-config systemd --variable=tmpfilesdir 2>/dev/null) if ! [[ -d "$tmpfilesdir" ]]; then - [[ -f /lib/tmpfiles.d ]] && tmpfilesdir=/lib/tmpfiles.d - [[ -f /usr/lib/tmpfiles.d ]] && tmpfilesdir=/usr/lib/tmpfiles.d + [[ -d /lib/tmpfiles.d ]] && tmpfilesdir=/lib/tmpfiles.d + [[ -d /usr/lib/tmpfiles.d ]] && tmpfilesdir=/usr/lib/tmpfiles.d fi export initdir dracutbasedir \ -- 2.8.3 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html