Openmoko Bug #1937: gpsd is killed when running /etc/init.d/gpsd restart

Openmoko Public Trac bugs at
Sun Aug 31 16:28:52 CEST 2008

#1937: gpsd is killed when running /etc/init.d/gpsd restart
 Reporter:  niccolo  |          Owner:  julian_chu               
     Type:  defect   |         Status:  new                      
 Priority:  highest  |      Milestone:                           
Component:  Distro   |        Version:  Om2007.2                 
 Severity:  normal   |       Keywords:  gpsd restart kill killall
Blockedby:           |   Reproducible:  always                   
 Blocking:           |  
 Running the script '''/etc/init.d/gpsd''' with the '''restart''' option,
 causes the gpsd to be killed.

 This is beacuse the script executes '''killall gpsd''', actually killing
 itself before the new start.

 A quick and dirty workaround is to rename the script as gpsdaemon or
 somthing alike.

 I attach a modified version of the script that tries to retrieve the PID
 of the daemon before killing it.

 Otherwise remove the restart option from the usage help.

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list