From 74c6b554bcdbed5e41c9d6dde16bf636bfa8a758 Mon Sep 17 00:00:00 2001
From: William Hubbs <w.d.hubbs@gmail.com>
Date: Sun, 21 Oct 2012 14:45:45 -0500
Subject: [PATCH] tmpfiles: do not process systemd.conf

This file contains definitions specific to systemd, so we should not
process it.

Reported-by: <andrew.gregory.8@gmail.com>
---
 sh/tmpfiles.sh.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in
index a341845c..2486da22 100755
--- a/sh/tmpfiles.sh.in
+++ b/sh/tmpfiles.sh.in
@@ -201,6 +201,7 @@ tmpfiles_d=''
 # `/run/tmpfiles/foo.conf' will always be read after `/etc/tmpfiles.d/bar.conf'
 for d in ${tmpfiles_dirs} ; do
 	[ -d $d ] && for f in ${d}/*.conf ; do
+		[ "$f" = "$d/systemd.conf" ] && continue
 		[ -f $f ] && tmpfiles_basenames="${tmpfiles_basenames}\n${f##*/}"
 	done # for f in ${d}
 done # for d in ${tmpfiles_dirs}