Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Lennart Poettering
On Wed, 10.06.15 12:18, Daurnimator (q...@daurnimator.com) wrote: > On 9 June 2015 at 20:36, Lennart Poettering wrote: > > On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: > > > >> On 3 June 2015 at 16:01, Lennart Poettering wrote: > >> > On Wed, 03.06.15 15:40, Daurnimator (q..

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Lennart Poettering
On Wed, 10.06.15 11:17, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: > On 10/06/15 03:18, Daurnimator wrote: > > example use case, I'm testing a client/server protocol: > > - the server is running locally; and because it shouldn't be exposed > > to the internet, it is bound to localhos

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Dimitri John Ledkov
On 3 June 2015 at 06:40, Daurnimator wrote: > > I was playing around with nss, and found that my loopback interface ip > doesn't appear from nss-myhostname. > Rather, my other ones do. > Furthermore, unless I request IPv4, link-local IPv6 addresses are > returned. Is this expected? > So in my cas

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Simon McVittie
On 10/06/15 03:18, Daurnimator wrote: > example use case, I'm testing a client/server protocol: > - the server is running locally; and because it shouldn't be exposed > to the internet, it is bound to localhost. > - I start the client and tell it to connect to $HOSTNAME Why wouldn't you tell t

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-09 Thread Daurnimator
On 9 June 2015 at 20:36, Lennart Poettering wrote: > On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: > >> On 3 June 2015 at 16:01, Lennart Poettering wrote: >> > On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: >> > >> >> I was playing around with nss, and found

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-09 Thread Lennart Poettering
On Wed, 03.06.15 16:31, Daurnimator (q...@daurnimator.com) wrote: > On 3 June 2015 at 16:01, Lennart Poettering wrote: > > On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: > > > >> I was playing around with nss, and found that my loopback interface ip > >> doesn't appear from nss

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-02 Thread Daurnimator
On 3 June 2015 at 16:01, Lennart Poettering wrote: > On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: > >> I was playing around with nss, and found that my loopback interface ip >> doesn't appear from nss-myhostname. >> Rather, my other ones do. >> Furthermore, unless I request IP

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-02 Thread Lennart Poettering
On Wed, 03.06.15 15:40, Daurnimator (q...@daurnimator.com) wrote: > I was playing around with nss, and found that my loopback interface ip > doesn't appear from nss-myhostname. > Rather, my other ones do. > Furthermore, unless I request IPv4, link-local IPv6 addresses are > returned. Is this expec

[systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-02 Thread Daurnimator
I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless I request IPv4, link-local IPv6 addresses are returned. Is this expected? $ uname -n daurn-m3800 $ getent hosts daurn-m3800 fe80::aed1:b8ff:fec0