Jobs, Steve <address@hidden>:
gpsd is always staring in the foreground (-N) with no additional arguments.
That's a weird one.
I see from your trace log that clone(2) is getting called but setsid()
is not. So it looks like what's happening is that gpsd is for some
reason failing to background itself properly - probably because the
fork call is erroring out.
First thing to figure out is whether your instance is calling daemon(3)
from a system library or from the emulation iin the GPSD distribution.
How are your C skills?