/etc/init.d/fso-gpsd pid-file off by one

Joachim Ott jo.omsl at googlemail.com
Tue Dec 16 01:21:43 CET 2008


2008/12/15 Sascha Wessel <wessel at nefkom.net>

> On Mon, Dec 15, 2008 at 04:28:45PM +0100, Joachim Ott wrote:
> > Could it be that the PID-file is written before the fork() rather than
> after
> > it?
>
> fso-gpsd forks itself to the background.


That's what I wrote. The fucking PID-file is written before the fucking fork
is made.


> > created and a simple "killall -q fso-gpsd" is sufficient to terminate it.
>
> > Anyway, there can be only one fso-gpsd running, no PID-file needs to be
>
> There can be more than one.
>

Wrong. There can be only 1 fucking (in words:ONE  FUCKING) process that
binds to port 2947.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20081216/b00411d3/attachment.htm 


More information about the support mailing list