Thread (26 messages) 26 messages, 10 authors, 2016-06-15

Re: [GIT PATCH] I2C and W1 bugfixes for 2.6.12-rc2

From: Kenneth Johansson <hidden>
Date: 2016-06-15 22:41:53

Greg KH wrote:
On Tue, Apr 19, 2005 at 06:27:38PM -0400, Daniel Jacobowitz wrote:
quoted
On Tue, Apr 19, 2005 at 03:00:04PM -0700, Linus Torvalds wrote:
quoted
On Tue, 19 Apr 2005, Greg KH wrote:
quoted
It looks like your domain name isn't set up properly for your box (which
is why it worked for you, but not me before, causing that patch).
No, I think it's a bug in your domainname changes. I don't think you
should do the domainname at all if the hostname has a dot in it.

Most machines I have access to (and that includes machines that are
professionally maintained, not just my own cruddy setup) says "(none)" to
domainname and have the full hostname in hostname.

And even the ones that use domainname tend to not have a fully qualified 
DNS domain there. You need to use dnsdomainname to get that, and I don't 
even know how to do it with standard libc.

So how about something like this?

(Somebody who actually knows how these things should be done - please feel 
free to pipe up).
The glibc documentation blows for this, but what getdomainname comes
from uname(2), not from any DNS-related configuration.  Debian only
ever sets this if you're using NIS.

Well, somehow Gentoo sets this up properly, and I'm not using NIS.  Hm,
my SuSE boxes on the other hand...
I have to agree with Daniel on this one. The domainname is related to 
nis and can be whatever you want it has nothing to do with DNS domains. 
Similar to a realm in kerberos

This is how it's used both on debian and solaris(don't use much else) 
and is consistent with Linus claim that it's common to have none.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help