#2369: Set hostname with FQDN
-------------------------------------+--------------------------------------
 Reporter:  d...@…                     |        Owner:  lfs-b...@…              
     
     Type:  task                     |       Status:  closed                    
   
 Priority:  normal                   |    Milestone:                            
   
Component:  Bootscripts              |      Version:  SVN                       
   
 Severity:  normal                   |   Resolution:  invalid                   
   
 Keywords:                           |  
-------------------------------------+--------------------------------------

Comment(by d...@…):

 Yes, and it should.  My understanding of /proc/sys/kernel/domainname was
 completely off base.  From Bruce's description, I'm making a partially
 educated (now) guess here, but ISTM that everything after the first dot
 should be discarded when setting with the -f flag.  The domain name should
 be determined by consulting /etc/hosts, and should that fail, then by DNS
 (unless you've modified /etc/nsswitch.conf).  I'm still going off of the
 man page for net-tools hostname, but if the new version holds true to the
 previous functions, setting only the short hostname (`hostname kyoto`)
 *should* return identical results.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2369#comment:11>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to