gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: ✘3.23 is near. Systemd files


From: Bernd Zeimetz
Subject: Re: Fw: ✘3.23 is near. Systemd files
Date: Sat, 31 Jul 2021 01:27:43 +0200
User-agent: Evolution 3.38.3-1

Hi,

On Fri, 2021-07-30 at 15:38 -0700, Gary E. Miller wrote:
> 
> Do you have an opinion on the attached?
> 

yes. Basically shows that the creator failed to understand how systemd and
socket activation works.

- socket is provided by gpsd.socket
- gpsd.service is started when something connects to the socket, the
connection filehandle is passed to gpsd.
- options should go into the environment file.
- attache usb devices are handled by udev and gpsd is activated via the
socket. There might be devices missing in the udev config.


For those who don't like the automatic way, using a systemd override file is
the best option as it keeps things aliged to what is shipped by upstream or
packages.


The current device handling is regularly tested by the ubuntu people and
known to work well.


Bernd


> 
> See below.
> 
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>       gem@rellim.com  Tel:+1 541 382 8588
> 
>           Veritas liberabit vos. -- Quid est veritas?
>     "If you can't measure it, you can't improve it." - Lord Kelvin
> 
> 
> Begin forwarded message:
> 
> Date: Fri, 30 Jul 2021 16:29:58 -0600
> From: Charles Curley <charlescurley@charlescurley.com>
> To: gpsd-users@nongnu.org
> Subject: Re: ✘3.23 is near.  Please test!
> 
> 
> On Fri, 30 Jul 2021 16:10:31 -0600
> Charles Curley <charlescurley@charlescurley.com> wrote:
> 
> > * Warning: Discussion of systemd ahead.
> > 
> >   As delivered, the systemd control files did not work. I substituted
> > my own gpsd.service, and things worked. I'll provide a diff
> > separately.  
> 
> See attached diff.
> 
> Note: this has the socket location hard coded. There is probably a
> macro to specify that. If not, maybe there should be.
> 
> 
> 
> 
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>       gem@rellim.com  Tel:+1 541 382 8588
> 
>           Veritas liberabit vos. -- Quid est veritas?
>     "If you can't measure it, you can't improve it." - Lord Kelvin

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]