<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://sourceware.org/bugzilla/bugzilla.dtd">

<bugzilla version="4.0.10"
          urlbase="http://sourceware.org/bugzilla/"
          
          maintainer="overseers@sourceware.org"
>

    <bug>
          <bug_id>1014</bug_id>
          
          <creation_ts>2005-06-16 13:45:00 +0000</creation_ts>
          <short_desc>RPC_ANYSOCK does not respect /etc/services</short_desc>
          <delta_ts>2005-10-17 13:26:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>glibc</product>
          <component>libc</component>
          <version>2.3.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Sanders">jss</reporter>
          <assigned_to name="GOTO Masanori">gotom</assigned_to>
          <cc>glibc-bugs</cc>
    
    <cc>jss</cc>
    
    <cc>rdieter</cc>
          <cf_gcchost>i386-redhat-linux</cf_gcchost>
          <cf_gcctarget></cf_gcctarget>
          <cf_gccbuild></cf_gccbuild>
          

      

      

      

          <long_desc isprivate="0">
            <commentid>3857</commentid>
            <who name="Jeremy Sanders">jss</who>
            <bug_when>2005-06-16 13:45:44 +0000</bug_when>
            <thetext>ypserv uses the svcudp_create() function with a RPC_ANYSOCK argument. The
RPC_ANYSOCK argument does not appear to respect the content of the /etc/services
file. This means that it takes ports which belong to other services before they
are started (e.g. imaps).

Would it be at all sensible to only take ports which are not listed in
/etc/services, or at least choose from a range of ports which are not currently
allocated in /etc/services.

Apologies if this is the wrong place to ask this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>3948</commentid>
            <who name="Thorsten Kukuk">kukuk</who>
            <bug_when>2005-06-27 14:35:51 +0000</bug_when>
            <thetext>If you would respect /etc/services, there wouldn&apos;t be much ports left 
which are not assigned to other services.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>3951</commentid>
            <who name="Jeremy Sanders">jss</who>
            <bug_when>2005-06-28 11:01:04 +0000</bug_when>
            <thetext>Is it sensible to have some sort of configuration to specify the range of ports
you want to use, or a list to exclude? It&apos;s annoying to have to specify ports
for each RPC daemon, and many RPC daemons don&apos;t have this option.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>5188</commentid>
            <who name="Ulrich Drepper">drepper.fsp</who>
            <bug_when>2005-09-22 17:23:02 +0000</bug_when>
            <thetext>There is nothing which will be done in the library.  If you want specific ports
to be excluded, start the services early or run placeholder processes which
allocate the processes early.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>