Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-16 Thread Vincent Lefevre
On 2014-09-12 00:59:27 +0400, Reco wrote: > On Thu, 11 Sep 2014 16:43:53 -0400 > Harry Putnam wrote: > The `hosts' entry: > > > > hosts: files myhostname mdns4_minimal [NOTFOUND=return] dns > > > > What does all that mean? I understand `files' first and `dns' at the > > end but none of

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-16 Thread Vincent Lefevre
On 2014-09-12 06:34:58 +0400, Reco wrote: > On Thu, 11 Sep 2014 23:03:25 +0100 > Brian wrote: > > If the local hostname is always resolvable by a 127.0.1.1 line in > > /etc/hosts or the machine is unlikely to dynamically change its > > hostname libnss-myhostname probably can be purged. > > 'Purge

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 22:29:22 +0400, Reco wrote: > On Fri, 12 Sep 2014 11:23:56 +0100 > Brian wrote: > > > DNSSD is the *only* method for printer discovery with cups-daemon in > > Jessie. > > Oh, that changes things somewhat as I didn't know that. May need to > research the motivation of CUPS

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 22:29:22 +0400, Reco wrote: > On Fri, 12 Sep 2014 11:23:56 +0100 > Brian wrote: > > > > But the most interesting is why there's a need for the whole library to > > > do the job if a couple of lines in /etc/hosts would do the job just > > > fine. > > > > A few posts back in

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Joe
On Fri, 12 Sep 2014 22:29:22 +0400 Reco wrote: > > If one as perfectly valid (which seem to be a direct consequence of > #247734) /etc/hosts with the following values: > > 127.0.0.1 localhost > 127.0.1.1 > Just to throw another log on the fire: I recently acquired a Windows 8 laptop (don't

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Reco
Hi. On Fri, 12 Sep 2014 11:23:56 +0100 Brian wrote: > > 'Purged' implies one installed libnss-myhostname in the first place. > > And libnss-myhostname does more than merely match a local hostname to > > 127.0.1.1. For example, it 'helpfully' mathes FQDN hostname with > > 127.0.1.1, and also doe

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 06:34:58 +0400, Reco wrote: > On Thu, 11 Sep 2014 23:03:25 +0100 > Brian wrote: > > > > If the local hostname is always resolvable by a 127.0.1.1 line in > > /etc/hosts or the machine is unlikely to dynamically change its hostname > > libnss-myhostname probably can be purge

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-11 Thread Reco
On Thu, 11 Sep 2014 23:03:25 +0100 Brian wrote: > On Fri 12 Sep 2014 at 00:59:27 +0400, Reco wrote: > > > 2) libnss-myhostname > > I honestly don't know what scares me most about libnss-hostname - the > > need of it in the first place, the author of the library, software that > > behaves funny w

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-11 Thread Brian
On Fri 12 Sep 2014 at 00:59:27 +0400, Reco wrote: > 2) libnss-myhostname > I honestly don't know what scares me most about libnss-hostname - the > need of it in the first place, the author of the library, software that > behaves funny without it or the setups that genuinely need it :( People are

Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-11 Thread Reco
Hi. On Thu, 11 Sep 2014 16:43:53 -0400 Harry Putnam wrote: The `hosts' entry: > > hosts: files myhostname mdns4_minimal [NOTFOUND=return] dns > > What does all that mean? I understand `files' first and `dns' at the > end but none of what is in between. Every hostname → IP resolving

/etc/hosts format WAS [Re: host hostname not found]

2014-09-11 Thread Harry Putnam
Reco writes: > Hi. > > On Thu, Sep 04, 2014 at 08:26:38PM -0400, Podrigal, Aron wrote: >> Any idea what can be the cause? I am installing proxmox-ve and when >> starting pve-cluster it fails with [main] crit: Unable to get local >> IP address. So I tried >> to look up with host utility and it do