Package: quagga
Version: 0.99.4-2
Severity: minor
Tags: patch

Hi!

It becomes increasingly popular to store /tmp, /var/run, and /var/lock
on a tmpfs. Unfortunately this breaks packages which expect a
persistent subdirectory there (this is a bit unclear in the LSB
specification).

Would you consider applying the attached patch, so that the directory
is guaranteed to be present? Thank you!

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
diff -u quagga-0.99.4/debian/quagga.init.d quagga-0.99.4/debian/quagga.init.d
--- quagga-0.99.4/debian/quagga.init.d
+++ quagga-0.99.4/debian/quagga.init.d
@@ -198,6 +198,12 @@
   done
 fi
 
+if [ ! -d /var/run/quagga ]; then
+    mkdir -p /var/run/quagga
+    chown quagga:quagga /var/run/quagga
+    chmod 755 /var/run/quagga
+fi
+
 case "$1" in
     start)
        # Try to load this necessary (at least for 2.6) module.

Attachment: signature.asc
Description: Digital signature

Reply via email to