Hi,

Am Dienstag, den 02.09.2014, 18:33 +0200 schrieb Vincent Lefevre:
> > The whole point of the package is that you do _not_ need a /etc/hosts.
> > 
> > Maybe something about the order in /etc/nsswitch.conf can be tweaked.
> 
> I had "files" first in "hosts:" (I suppose that this corresponds
> to /etc/hosts), and still first after libnss-myhostname got
> installed. This means that libnss-myhostname overrode it. But
> I'll try to look what is done with strace.

not sure what you mean. libnss-myhostname currently installs itself
always directly after files.

> > But note that this was changed in 0.3-1:
> > 
> >     Install myshostname directly after "files" in /etc/nsswitch.conf.
> >     This avoids an annoying delay when dns fails and one wants to use sudo 
> > to
> >     fix it. Is also closer to having the hostname in /etc/hosts, which is 
> > the
> >     behaviour myhostname tries to mimic. Existing installations are not
> >     modified.
> 
> What does "Existing installations are not modified." mean? I ask this
> because /etc/nsswitch.conf got modified.

Existing installations of libnss-myhostname, i.e. if it is already
present in /etc/nsswitch.conf.

If you move it to the end of the line there, does it work better for
you?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to