Bug#945224: closed by Michael Biebl <biebl at debian.org> (Re: Bug#945224: resolve gateway libnss-myhostname)

Frederik Vos inktvis75 at icloud.com
Thu Nov 21 13:38:28 GMT 2019


i am sorry, missed that one … see also https://github.com/systemd/systemd/commit/5248e7e1f11aba6859de0b28f0dd3778b22842f2

> On 21 Nov 2019, at 14:36, Debian Bug Tracking System <owner at bugs.debian.org> wrote:
> 
> This is an automatic notification regarding your Bug report
> which was filed against the libnss-myhostname package:
> 
> #945224: resolve gateway libnss-myhostname
> 
> It has been closed by Michael Biebl <biebl at debian.org>.
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Michael Biebl <biebl at debian.org> by
> replying to this email.
> 
> 
> -- 
> 945224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945224
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
> 
> From: Michael Biebl <biebl at debian.org>
> Subject: Re: Bug#945224: resolve gateway libnss-myhostname
> Date: 21 November 2019 at 14:33:30 CET
> To: Frederik Vos <inktvis75 at icloud.com>, 945224-done at bugs.debian.org
> 
> 
> Am 21.11.19 um 14:05 schrieb Frederik Vos:
>> Package: libnss-myhostname
>> Version: 241-7~deb10u2
>> 
>> getent ahosts $(hostname) works as expected,
>> getent ahosts gateway does not
>> 
>> A strace suggest that it is found:
>> 
>> recvfrom(3, "\224\235\204\3\0\1\0\0\0\0\0\0\7gateway\vlocaldomain"..., 2048, 0,
>> {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.2")}, [2
>> 8->16]) = 37
>> 
>> but it is never printed to the standard output
> 
> Please see man nss-myhostname:
> 
>>       •   The hostname "_gateway" is resolved to all current default routing
>>           gateway addresses, ordered by their metric. This assigns a stable
>>           hostname to the current gateway, useful for referencing it
>>           independently of the current network configuration state.
> 
> I.e. use getent ahosts _gateway
> 
> -- 
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> 
> 
> 
> 
> 
> getent ahosts $(hostname) works as expected,
> getent ahosts gateway does not
> 
> A strace suggest that it is found:
> 
> recvfrom(3, "\224\235\204\3\0\1\0\0\0\0\0\0\7gateway\vlocaldomain"..., =
> 2048, 0,
> {sa_family=3DAF_INET, sin_port=3Dhtons(53), =
> sin_addr=3Dinet_addr("192.168.122.2")}, [2
> 8->16]) =3D 37
> 
> but it is never printed to the standard output
> 
>  Operating System: Debian GNU/Linux 10 (buster)
>                    Kernel: Linux 4.19.0-6-amd64
>           Architecture: x86-64=
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191121/cf49e251/attachment.html>


More information about the Pkg-systemd-maintainers mailing list