Re: nss_myhostname as default in Fedora

2016-02-08 Thread Glen Turner
> It's part of what nss-myhostname provides. There's clearly no > consensus on the "gateway" feature. The belief of operating systems' programmers that a lack of a default gateway must imply no network connectivity constricts useful network designs. My objection to the "gateway" name is

Re: nss_myhostname as default in Fedora

2016-02-04 Thread Andrew Lutomirski
On Wed, Feb 3, 2016 at 8:44 AM, Zbigniew Jędrzejewski-Szmek wrote: > Sorry to reply with such a delay. > > On Mon, Jan 25, 2016 at 07:43:35PM -0800, Andrew Lutomirski wrote: >> I also think that the whole gethostname(2) mechanism is terminally >> screwed up. We abuse the

Re: nss_myhostname as default in Fedora

2016-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 04, 2016 at 01:11:48PM -0800, Andrew Lutomirski wrote: > On Wed, Feb 3, 2016 at 8:44 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > Sorry to reply with such a delay. > > > > On Mon, Jan 25, 2016 at 07:43:35PM -0800, Andrew Lutomirski wrote: > >> I also think that the

Re: nss_myhostname as default in Fedora

2016-02-04 Thread Petr Spacek
On 3.2.2016 16:34, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > On Wed, Jan 27, 2016 at 11:57:37PM +0100, Jan Pokorný wrote: >> attempt on settle this one down: http://tools.ietf.org/html/rfc6761 > > rfc6761 is a useful reference, but it doesn't really solve this > discussion one way or another.

Re: nss_myhostname as default in Fedora

2016-02-03 Thread Zbigniew Jędrzejewski-Szmek
Hi, On Wed, Jan 27, 2016 at 11:57:37PM +0100, Jan Pokorný wrote: > attempt on settle this one down: http://tools.ietf.org/html/rfc6761 rfc6761 is a useful reference, but it doesn't really solve this discussion one way or another. It's concerned with names to be "carved off a sub-tree of the DNS

Re: nss_myhostname as default in Fedora

2016-02-03 Thread Zbigniew Jędrzejewski-Szmek
Sorry to reply with such a delay. On Mon, Jan 25, 2016 at 07:43:35PM -0800, Andrew Lutomirski wrote: > I also think that the whole gethostname(2) mechanism is terminally > screwed up. We abuse the hostname for multiple purposes: > > 1. It shows up in the default bash prompt. > > 2. It gets sent

Re: nss_myhostname as default in Fedora

2016-01-27 Thread Jan Pokorný
On 25/01/16 19:43 -0800, Andrew Lutomirski wrote: > I think that the "gateway" override should not be conflated with > always letting the gethostname(2) return value resolve. > > I also think that the whole gethostname(2) mechanism is terminally > screwed up. We abuse the hostname for multiple

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Florian Weimer
On 01/26/2016 08:58 AM, Petr Spacek wrote: > So, please, do not push "gateway." or any other single-label name forward. It > will cause trouble sooner or later. I think “_gateway” or “gateway_” would work, despite being a single label. We could give this one priority over DNS, even. Florian --

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Lennart Poettering
On Tue, 26.01.16 08:58, Petr Spacek (pspa...@redhat.com) wrote: > I disagree with your disagreement. We have only 1 shared namespace for this > world, and like it or not, the root zone (and thus all single-label names in > it) is managed by ICANN. Well, did you actually read the earlier

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Florian Weimer
On 01/26/2016 12:45 PM, Lennart Poettering wrote: > On Tue, 26.01.16 08:58, Petr Spacek (pspa...@redhat.com) wrote: > >> I disagree with your disagreement. We have only 1 shared namespace for this >> world, and like it or not, the root zone (and thus all single-label names in >> it) is managed by

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Dan Williams
On Mon, 2016-01-25 at 19:43 -0800, Andrew Lutomirski wrote: > On Mon, Jan 25, 2016 at 6:34 PM, Peter Robinson > wrote: > > > > > > > It is intended as a convenient fallback mechanism, and is > > > > > > > only supposed > > > > > > > to have an effect if 'gateway' is not

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Andrew Lutomirski
On Tue, Jan 26, 2016 at 9:19 AM, Dan Williams wrote: > On Mon, 2016-01-25 at 19:43 -0800, Andrew Lutomirski wrote: >> On Mon, Jan 25, 2016 at 6:34 PM, Peter Robinson > > wrote: >> > > > > > > It is intended as a convenient fallback mechanism, and is >> > >

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Dan Williams
On Tue, 2016-01-26 at 09:47 -0800, Andrew Lutomirski wrote: > On Tue, Jan 26, 2016 at 9:19 AM, Dan Williams > wrote: > > On Mon, 2016-01-25 at 19:43 -0800, Andrew Lutomirski wrote: > > > On Mon, Jan 25, 2016 at 6:34 PM, Peter Robinson < > > > pbrobin...@gmail.com > > > > wrote: >

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Samuel Sieb
On 01/26/2016 09:47 AM, Andrew Lutomirski wrote: I still think that, for the default workstation use case, configuring a hostname as a mandatory part of installation is counterproductive. Would it make sense to improve support for hostname-less workstations? NetworkManager could take

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Andrew Lutomirski
On Tue, Jan 26, 2016 at 12:48 PM, Samuel Sieb wrote: > On 01/26/2016 09:47 AM, Andrew Lutomirski wrote: >> >> I still think that, for the default workstation use case, configuring >> a hostname as a mandatory part of installation is counterproductive. >> Would it make sense to

Re: nss_myhostname as default in Fedora

2016-01-26 Thread Dan Williams
On Tue, 2016-01-26 at 13:32 -0800, Andrew Lutomirski wrote: > On Tue, Jan 26, 2016 at 12:48 PM, Samuel Sieb > wrote: > > On 01/26/2016 09:47 AM, Andrew Lutomirski wrote: > > > > > > I still think that, for the default workstation use case, > > > configuring > > > a hostname as a

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Andrew Lutomirski
On Mon, Jan 25, 2016 at 6:34 PM, Peter Robinson wrote: >>> >>> It is intended as a convenient fallback mechanism, and is only supposed >>> >>> to have an effect if 'gateway' is not defined in the local DNS (the >>> >>> 'domain' or 'search' zones). Would it help if those

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Petr Spacek
On 25.1.2016 17:39, Lennart Poettering wrote: > On Mon, 25.01.16 17:11, Florian Weimer (fwei...@redhat.com) wrote: > >> On 01/25/2016 03:23 PM, Lennart Poettering wrote: >>> On Mon, 25.01.16 09:08, Florian Weimer (fwei...@redhat.com) wrote: >>> > It is intended as a convenient fallback

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Lennart Poettering
On Fri, 22.01.16 19:06, Florian Weimer (fwei...@redhat.com) wrote: > On 01/21/2016 11:18 PM, Orion Poplawski wrote: > > > PS - There is some other discussion around "mymachines" which seems much > > more > > problematic. I'd like to just focus on myhostname for now. The glibc > > maintainer

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/22/2016 01:06 PM, Florian Weimer wrote: > On 01/21/2016 11:18 PM, Orion Poplawski wrote: > >> PS - There is some other discussion around "mymachines" which seems much >> more problematic. I'd like to just focus on myhostname for now. The >>

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Lennart Poettering
On Mon, 25.01.16 09:08, Florian Weimer (fwei...@redhat.com) wrote: > > It is intended as a convenient fallback mechanism, and is only supposed > > to have an effect if 'gateway' is not defined in the local DNS (the > > 'domain' or 'search' zones). Would it help if those limitations were > > more

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Lennart Poettering
On Mon, 25.01.16 17:11, Florian Weimer (fwei...@redhat.com) wrote: > On 01/25/2016 03:23 PM, Lennart Poettering wrote: > > On Mon, 25.01.16 09:08, Florian Weimer (fwei...@redhat.com) wrote: > > > >>> It is intended as a convenient fallback mechanism, and is only supposed > >>> to have an effect

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Florian Weimer
On 01/25/2016 03:23 PM, Lennart Poettering wrote: > On Mon, 25.01.16 09:08, Florian Weimer (fwei...@redhat.com) wrote: > >>> It is intended as a convenient fallback mechanism, and is only supposed >>> to have an effect if 'gateway' is not defined in the local DNS (the >>> 'domain' or 'search'

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Florian Weimer
On 01/22/2016 10:45 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 22, 2016 at 07:06:26PM +0100, Florian Weimer wrote: >> On 01/21/2016 11:18 PM, Orion Poplawski wrote: >> >>> PS - There is some other discussion around "mymachines" which seems much >>> more >>> problematic. I'd like to

Re: nss_myhostname as default in Fedora

2016-01-25 Thread Peter Robinson
>> >>> It is intended as a convenient fallback mechanism, and is only supposed >> >>> to have an effect if 'gateway' is not defined in the local DNS (the >> >>> 'domain' or 'search' zones). Would it help if those limitations were >> >>> more explicit, e.g. documented in nss-myhostname(8)? >> >> >>

Re: nss_myhostname as default in Fedora

2016-01-22 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 22, 2016 at 07:06:26PM +0100, Florian Weimer wrote: > On 01/21/2016 11:18 PM, Orion Poplawski wrote: > > > PS - There is some other discussion around "mymachines" which seems much > > more > > problematic. I'd like to just focus on myhostname for now. The glibc > > maintainer has

Re: nss_myhostname as default in Fedora

2016-01-22 Thread Florian Weimer
On 01/21/2016 11:18 PM, Orion Poplawski wrote: > PS - There is some other discussion around "mymachines" which seems much more > problematic. I'd like to just focus on myhostname for now. The glibc > maintainer has indicated that he wants to wait for mymachines to be resolved, > but it's almost

Re: nss_myhostname as default in Fedora

2016-01-21 Thread Michael Catanzaro
On Thu, 2016-01-21 at 15:18 -0700, Orion Poplawski wrote: > See https://bugzilla.redhat.com/show_bug.cgi?id=1284323 as well > > For a while (from 197-1 until 228-5), systemd added "myhostname" to > the end of > the hosts line in /etc/nsswitch.conf in %post via sed.  This has been > removed > as

Re: nss_myhostname as default in Fedora

2016-01-21 Thread Zbigniew Jędrzejewski-Szmek
Hi, yes, it's been a while with little progress. Initially I thought it would be just a packaging issue, but various issues were raised which require upstream fixes. I let it slip, but I still hope to get this finished. Thank you for pushing for a resolution. On Thu, Jan 21, 2016 at 03:18:47PM