On 2014-09-02 18:07:44 +0200, Joachim Breitner wrote:
> Well, if you have that in /etc/hosts, you don’t need libnss-myhostname.

So, the "Recommends:" by gnome-control-center should be dropped.
Then installing libnss-myhostname or not should be the job of
the Debian installer, because /etc/hosts is created or not at
this time.

> 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.

> 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.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to