Yo Hans!

On Wed, 14 Jan 2026 15:17:16 +0100
Hans Mayer <[email protected]> wrote:

> Yes, it's the optionĀ  -GĀ  or --listenany
> without it isn't working, but with option -G it's fine.
> I didn't realise that the listen statement also has an effect on 
> outgoing connections too.

That would be a bug.  At least we found it now.  The stat() funcion mus
behave differently depending on whether gpsd is listenting on localhost,
or globally.

Way too deep to be intentional on gpsd's part.

> the simple one:
> update man page for gpsd and add where an URL is described the info
> that -G is necessary.
> And maybe at the option itself that it is needed for outgoing
> connections.

Since this invovles a libc quirk, it may be required.  But I hope not.

> the complex one:
> update gpsd source code. whenever an URL is used but no -G option 
> available then write a human understandable error message and
> terminate.

Not so hard, but should not be needed.

Maybe just not doing the stat() is sufficient.  I'll know soon.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        [email protected]  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpYId19i8ICT.pgp
Description: OpenPGP digital signature

Reply via email to