/etc/init.d/fso-gpsd pid-file off by one
Sascha Wessel
wessel at nefkom.net
Tue Dec 16 01:49:59 CET 2008
Hi,
On Tue, Dec 16, 2008 at 01:21:43AM +0100, Joachim Ott wrote:
> 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.
not if fso-gpsd writes the pid file
> > > 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.
use another port
Greetings,
Sascha
More information about the support
mailing list