To be very clear about this - this is no problem with gpsd, not a bug in gpsd, but some problem in conjunction with systemd. Since neither the Arch Linux forum nor the systemd-Community on G+ could provide any insight, I am trying my luck here. Please bear with me.
Maybe someone here has already some experience with gpsd and systemd.
I am using Arch Linux. Just upgraded from traditional SysV initscripts to systemd, most went ok but one problem remains.
When I start the gpsd daemon, the log gets filled up _very_ rapidly with:
Jan 4 01:09:49 grappa systemd: Starting GPS (Global Positioning System) Daemon... Jan 4 01:09:49 grappa systemd: gpsd.service start request repeated too quickly, refusing to start.
service does not start, systemd tries to restart it several 1000 times a
second. This only stops when I stop the service with systemctl.
have copied the provided gpsd.service file from /usr/lib/systemd/system/ to
/etc/systemd/system/ and modified that file to reflect my local
hardware. The only line I changed in the gpsd.service file is:
When I start the gpsd daemon manually without systemctl everything works as expected (as it did before migration to systemd).
What I tried so far: - more diagnostics from gpsd, no joy, no output - added explicit 'Type=simple' to gpsd.service, no joy - added 'RestartSec=10', 'Restart=no', 'StartLimitBurst=1' to reduce at least the restart rate, no joy.
- checked prmissions on the serial device, looks good - asked in the german arch linux forum, no reply - asked in system Community on G+, no useful hint