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: Jobs, Steve
Subject: Re: [gpsd-users] gpsd always starting in foregound
Date: Thu, 12 Jun 2014 21:48:52 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

The problem turned out to be systemd. Yay, now I can jump on the bandwagon and rant about how systemd sucks. Anyways, I would assume anyone who is using a beaglebone black with either debian wheezy or Jessie would be running into the same problem. As I am using my BBB as a headless server it was simple enough to disable systemd in the Uenv.txt config file. On reboot everything just works!

On 5/27/2014 9:12 AM, Eric S. Raymond wrote:
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?




reply via email to

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