Needs /var/run/polipo directory
Bug #40818 reported by
auspex
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
polipo (Ubuntu) |
Fix Released
|
Medium
|
MOTU | ||
Bug Description
polipo fails to start because /var/run is on a tmpfs filesystem, and it can't create the default pid file.
It either needs to make sure /var/run/polipo is created in the init script, or move the pid file to /var/run/
Changed in polipo: | |
assignee: | nobody → motu |
To post a comment you must log in.
diff -Nur polipo- 0.9.8/debian/ init.d polipo- 0.9.8.new/ debian/ init.d 0.9.8/debian/ init.d 2006-04-22 22:51:48.000000000 +0200 0.9.8.new/ debian/ init.d 2006-04-22 22:50:42.000000000
--- polipo-
+++ polipo-
+0200
@@ -24,6 +24,9 @@
# . /etc/default/polipo
#fi
+# Make sure /var/run/polipo exists since /var/run is now on a tmpfs
+if [ ! -e /var/run/polipo ]; then mkdir -p /var/run/polipo; fi
+
case "$1" in
start)
echo -n "Starting $DESC: "