[Bug 1581272] Re: gpsd always runs in 'non-daemonised' or not at all
moe at wadda.org
Fri May 13 10:46:07 UTC 2016
On Fri, 13 May 2016 10:15:01 -0000
Bernd Zeimetz <bernd at bzed.de> wrote:
> systemd happily handles a running gpsd in fireground mode.
Sure, the -N flag is to run gpsd in the foregound.
But if you want gpsd to run as a daemon, it cannot with the current
If you remove the -N flag it will not function at all.
Moreover, modifications to the "EnvironmentFile=-/etc/default/gpsd are
Try it. Modify the options, change the device....nothing.
Make the change to the unit file, *that is consistent* with dealing with
unix style daemons, such as gpsd, and all these problems go away.
Moe <moe at wadda.org>
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gpsd in Ubuntu.
gpsd always runs in 'non-daemonised' or not at all
Status in gpsd package in Ubuntu:
The systemd unit file
starts gpsd with the '-N' flag for a non-daemonised instance.
Removing the flag prevents systemd from calling the gpsd at all.
The service needs the removal of the '-N' flag so the gpsd can fully
function, and insertion of 'Type=forking' to enable it to read its own
configuration file '/etc/default/gpsd'
Attached is a patch, if I've done it correctly.
To manage notifications about this bug go to:
More information about the foundations-bugs