gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] gpsd always starting in foregound


From: Eric S. Raymond
Subject: Re: [gpsd-users] gpsd always starting in foregound
Date: Tue, 27 May 2014 09:12:46 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

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?
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]