Bug#387699: exim4: Should create /var/run/exim4/ if it is missing
Petter Reinholdtsen
pere at hungry.com
Sat Sep 16 07:24:33 UTC 2006
Package: exim4-base
Version: 5.40-8
Severity: important
Tags: patch
The exim4 init.d script is creating files in /var/run/exim4/, but do
not make sure the directory exist before doing this. This will break
when I change /var/run/ to be a tmpfs in initscripts.
Here is a patch to solve this.
--- /etc/init.d/exim4.orig 2006-07-24 10:44:24.000000000 +0200
+++ /etc/init.d/exim4 2006-09-16 09:23:08.000000000 +0200
@@ -86,6 +86,7 @@
start_exim()
{
+ [ -d /var/run/exim4 ] || mkdir /var/run/exim4
case ${QUEUERUNNER} in
combined)
$ENV start-stop-daemon --start --pidfile "$PIDFILE" \
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-exim4-maintainers
mailing list