Package: lighttpd
Version: 1.4.31-3
Severity: normal
Tags: patch
Quote from the commit message:
work around bug #712727 (systemd-tmpfiles --create uses non-absolute path)
These lines can be reverted once a new debhelper version is uploaded.
Note that the Build-Dependency needs to be bumped to make sure that
debhelper version is used.
This problem results in lighttpd not starting up properly until you
either run systemd-tmpfiles --create or reboot your machine. All
machines running systemd-44 (currently in Debian stable and sid) are
affected.
>From e9e51ecc8b7e3b901c137daf23b728f5317303ff Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <[email protected]>
Date: Sun, 23 Jun 2013 12:25:11 +0200
Subject: [PATCH 2/2] work around bug #712727 (systemd-tmpfiles --create uses
non-absolute path)
These lines can be reverted once a new debhelper version is uploaded.
Note that the Build-Dependency needs to be bumped to make sure that
debhelper version is used.
---
debian/lighttpd.postinst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/lighttpd.postinst b/debian/lighttpd.postinst
index 6bfed29..f50b507 100644
--- a/debian/lighttpd.postinst
+++ b/debian/lighttpd.postinst
@@ -26,6 +26,11 @@ start_failed()
exit 0
}
+# Temporary bugfix until #712727 is fixed.
+if [ -d /run/systemd/system ] ; then
+ systemd-tmpfiles --create /usr/lib/tmpfiles.d/lighttpd.tmpfile.conf >/dev/null || true
+fi
+
#DEBHELPER#
exit 0
--
1.7.10.4