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

wadda moe at wadda.org
Fri May 13 01:03:21 UTC 2016


Public bug reported:

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.

** Affects: gpsd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gpsd systemd

** Patch added: "allow systemd to control gpsd"
   https://bugs.launchpad.net/bugs/1581272/+attachment/4661632/+files/gpsd.service.patch

-- 
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:
  New

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