[Bug 1581272] Re: gpsd always runs in 'non-daemonised' or not at all

Bernd Zeimetz bernd at bzed.de
Fri May 13 10:15:01 UTC 2016


Your description is wrong - systemd happily handles a running gpsd in fireground mode.
Also /etc/default/gpsd is not read by gpsd, but by systemd and the options are passed to gpsd.

Whatever the problem is you are having, your change is not the fix for
it.

Please not that gpsd - by default - will not start automatically. Its
start is triggered by systemd socket activation. You'll have to add an
appropriate systemd config file if you want to change that - for example
if you need to have systemd running at system boot.

** Changed in: gpsd (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gpsd in Ubuntu.
https://bugs.launchpad.net/bugs/1581272

Title:
  gpsd always runs in 'non-daemonised' or not at all

Status in gpsd package in Ubuntu:
  Incomplete

Bug description:
  The systemd unit file

  /lib/systemd/system/gpsd.service

  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:
https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1581272/+subscriptions



More information about the foundations-bugs mailing list