Red Hat Bugzilla – Bug 505588
gpsd has a broken initscript that fails to launch daemon
Last modified: 2009-09-08 21:49:50 EDT
Created attachment 347574 [details]
Description of problem:
GPSd has broken initscript
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service gpsd start
2. Watch it fail.
There are two problems with the initscript:
1) The path to the gpsd binary is wrong; it should be /usr/sbin/gpsd instead of /usr/bin/gpsd
2) gpsd uses -P <pidfile> instead of -p <pidfile>
I've attached the fixed initscript.
There is one additional problem with the init script, it sources /etc/sysconfig/gpsd but then immediately overwrites the OPTIONS and DEVICE settings. Lines 38 and 39 should be deleted.
I reproduced this bug.
Have noticed all the above bugs.
In addition, gpsd is not started by default. As the package is not installed by default, if someone explicitly installs it they probably also want it to run.
This scratch build should fix this bug, please go ahead and try it.
The new package works great!
gpsd-2.39-4.fc11 has been submitted as an update for Fedora 11.
gpsd-2.39-4.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gpsd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8759
*** Bug 521147 has been marked as a duplicate of this bug. ***
works for me.
gpsd-2.39-4.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.