Bug#1034516: gpsd: Default GPSD_OPTIONS should include -n

2023-04-17 Thread Bernd Zeimetz
Hi,


> The lead developer of gpsd says that, "You should always use the '-n' 
> flag"[1].
> 

the lead developer of gpsd refuses to understand how systemd works and is
rather unpleasant to deal with.


> However, GPSD_OPTIONS in /etc/default/gpsd does not default to including it.
> 
> Version 3.22 has a bug (fixed in 3.24 I believe) in which PPS devices are not
> properly used if -n is not passed.[2]

Then -n would be a workaround...

In the "default" way (and that is: for most cases don't do anything except
somthing via the socket talks to gpsd), which is the only sane option for
distributions imho, gpsd is configured to talk to a gps device when udev will
recognize one. So there is no need for -n.

If there is a need for anything else - change the configuration.


Bernd



-- 
 Bernd ZeimetzDebian GNU/Linux Developer
 http://bzed.dehttp://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F



Bug#1034516: gpsd: Default GPSD_OPTIONS should include -n

2023-04-17 Thread Ryan Govostes
Package: gpsd
Version: 3.22
Severity: normal
X-Debbugs-Cc: rgovos...@gmail.com

Dear Maintainer,

The lead developer of gpsd says that, "You should always use the '-n' flag"[1].

However, GPSD_OPTIONS in /etc/default/gpsd does not default to including it.

Version 3.22 has a bug (fixed in 3.24 I believe) in which PPS devices are not
properly used if -n is not passed.[2]

1: https://gitlab.com/gpsd/gpsd/-/issues/239#note_1354103016
2: https://gitlab.com/gpsd/gpsd/-/issues/239

-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 5.15.49-linuxkit (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_RANDSTRUCT
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages gpsd depends on:
ii  adduser 3.118
pn  libbluetooth3   
ii  libc6   2.31-13+deb11u3
pn  libdbus-1-3 
pn  libgps28
pn  libusb-1.0-0
ii  lsb-base11.1.0
pn  netbase | systemd-sysv  
ii  python3 3.9.2-3

Versions of packages gpsd recommends:
pn  gpsd-tools  
pn  udev

Versions of packages gpsd suggests:
pn  apparmor  
pn  dbus  
pn  gpsd-clients