/etc/init.d/anon-proxy fails without error, /var/run/anon-proxy does not exist (ubuntu intrepid, anon-proxy_00.05.38+20080527-1 )

Bug #261799 reported by Niall Creech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anon-proxy (Debian)
Fix Released
Unknown
anon-proxy (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: anon-proxy

on installation anon-proxy starts fine from the dpkg postinst script. on reboot the init script fails without error which seems to be down to the /var/run/anon-proxy directory not existing anymore.
adding some /var/run/anon-proxy creation checks into the init script seems to fix it.

if it helps, attached is the patch file for /etc/init.d/anon-proxy from anon-proxy_00.05.38+20080527-1. I added a PIDDIR variable for /var/run/anon-proxy directory and a check_piddir function to make sure the directory is created at boot before starting the mix.

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Daniel T Chen (crimsun)
Changed in anon-proxy:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package anon-proxy - 00.05.38+20080527-1ubuntu1

---------------
anon-proxy (00.05.38+20080527-1ubuntu1) intrepid; urgency=low

  * debian/{postinst,prerm}:
    - Apply patch from Debian #496640 to fix configure errors if empty
      /etc/environment is available.
  * debian/init.d:
    - Recreate /var/run/anon-proxy if not available. Ubuntu mounts /var/run
      under a tmpfs, so it will be erased each reboot (LP: #261799).

 -- Luca Falavigna <email address hidden> Sun, 31 Aug 2008 15:59:06 +0200

Changed in anon-proxy:
status: Triaged → Fix Released
Changed in anon-proxy:
status: Unknown → New
Revision history for this message
Jorge Dávila (davila) wrote :

I installed anon-proxy ( version 00.05.38+20080527-1ubuntu ) in kubuntu 8.10 and the package contains the error described in the past posts.

Changed in anon-proxy (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.