From: Chuck Lever Subject: Re: incorrect entries in /etc/netconfig Date: Fri, 25 Jul 2008 18:58:30 -0400 Message-ID: <4D4F68CB-7922-4CD7-A32B-50A0FD311EE0@oracle.com> References: <4873A681.5080409@RedHat.com> <777E985E-D123-4A74-9770-DB8DDA4DADBA@oracle.com> <488A448E.3070400@RedHat.com> Mime-Version: 1.0 (Apple Message framework v928.1) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Cc: Linux NFS Mailing List To: Steve Dickson Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:44630 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752309AbYGYW7M (ORCPT ); Fri, 25 Jul 2008 18:59:12 -0400 In-Reply-To: <488A448E.3070400-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Jul 25, 2008, at 5:24 PM, Steve Dickson wrote: > Chuck Lever wrote: >> On Jul 8, 2008, at 1:40 PM, Steve Dickson wrote: >>> Sorry for taking soo long to address this... >>> >>> Chuck Lever wrote: >>>> Hi Steve- >>>> >>>> I'm trying out setconfigent() and friends from the new libtirpc. >>>> >>>> It looks like the entries in the stock /etc/netconfig on Fedora are >>>> incorrect compared with Solaris. My Fedora 8 system has this: >>>> >>>> udp tpi_clts v inet udp - - >>>> tcp tpi_cots_ord v inet tcp - - >>>> udp6 tpi_clts - inet6 udp6 - - >>>> tcp6 tpi_cots_ord - inet6 tcp6 - - >>>> >>>> but my OpenSolaris 2008.5 system has this: >>>> >>>> udp6 tpi_clts v inet6 udp /dev/udp6 - >>>> tcp6 tpi_cots_ord v inet6 tcp /dev/tcp6 - >>>> udp tpi_clts v inet udp /dev/udp - >>>> tcp tpi_cots_ord v inet tcp /dev/tcp - >>>> >>>> Note the contents of the fifth field in each row. The Fedora >>>> netconfig >>>> has "udp6" and "tcp6" as the protonames, which I think is >>>> incorrect. >>>> These should be "udp" and "tcp". Only the netids (the first field) >>>> should have the extra "6" suffix. The protocol names should >>>> always be >>>> "udp" or "tcp", no matter which address family is used. >>>> >>>> Can you fix this up in the libtirpc package? >>> It is in later releases... to be honest I'm not sure how >>> it got that way.. It did not seem to be broken in the >>> stock F8 (libtirpc-0.1.7-12), F9 or rawhide packages >> >> FYI: I just hit this again on a fairly fresh F9 install. >> >> I wonder if installing libtirpc-devel breaks /etc/netconfig? > Is there a /etc/netconfig.rpmnew file? [cel@tarkus nfs-2.6]$ ls -l /etc/netcon* -rw-r--r-- 1 root root 768 2008-07-25 14:24 [cel@tarkus nfs-2.6]$ The date is today because I just removed the "6"es. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com