wackamole init script does not check for existence of /var/run/wackamole

Bug #318459 reported by matt.bennett
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wackamole (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: wackamole

The script at /etc/init.d/wackamole does not check for the existence of /var/run/wackamole and the daemon subsequently fails trying to write its .pid file.

/var/run/wackamole is created by the aptitude install of wackamole but purged on restart. Subsequent starts of wackamole fail silently but strace -f reveals complaints about /var/run/wackamole not existing.

Attached patch modifies /etc/init.d/wackamole to create /var/run/wackamole if it does not exist.

matt@mysql1:~$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

matt@mysql1:~$ apt-cache policy wackamole
wackamole:
  Installed: 2.1.1-3
  Candidate: 2.1.1-3
  Version table:
 *** 2.1.1-3 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
matt.bennett (matt-bennett) wrote :
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.