If GPSD tries to contact chrony I see entries like this:
gpsd[2649]: gpsd:PROG: PPS:/dev/ttyAMA0 chrony socket
/var/run/chrony.ttyAMA0.sock doesn't exist
gpsd[2649]: gpsd:PROG: PPS:/dev/ttyUSB1 chrony socket
/var/run/chrony.ttyUSB1.sock doesn't exist
I reduced it to just the device that seems to have working PPS and retried.
With chrony set up to expect /var/run/chrony.ttyUSB0.sock via
in Chrony.conf I set
# get input from GPSD
refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2
refclock SOCK /var/run/chrony.ttyXX.sock refid PPS
After restart of chrony I had
srwxr-xr-x 1 root root 0 Apr 27 14:26 /var/run/chrony.ttyUSB0.sock=
And with that I get:
Apr 27 14:27:53 ubuntu gpsd[2568]: gpsd:PROG: PPS:/dev/ttyUSB0 connect chrony
socket failed: /var/run/chrony.ttyUSB0.sock, error: -2, errno: 13/Permission
denied
Ok it is reproducible now and thereby debuggable.
Maybe the code that drops GPSD permissions runs to early now or anything like
that.
But at least I can now action on it over here.
** Changed in: gpsd (Ubuntu)
Status: Confirmed => Triaged
** Changed in: gpsd (Ubuntu)
Assignee: (unassigned) => Christian Ehrhardt (paelzer)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872175
Title:
gpsd unable to open chrony PPS socket
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1872175/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs