This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 1014
  RPC_ANYSOCK does not respect /etc/services Last modified: 2005-10-17 13:26:38
     Query page      Enter new bug
Bug#: 1014   Hardware:   Reporter: Jeremy Sanders <jss@ast.cam.ac.uk>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: WONTFIX   Severity:  
Assigned To: GOTO Masanori <gotom@debian.or.jp>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1014 depends on: Show dependency tree
Show dependency graph
Bug 1014 blocks:

Additional Comments:


Leave as RESOLVED WONTFIX
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2005-06-16 13:45
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.

------- Additional Comment #1 From Thorsten Kukuk 2005-06-27 14:35 -------
If you would respect /etc/services, there wouldn't be much ports left 
which are not assigned to other services.  

------- Additional Comment #2 From Jeremy Sanders 2005-06-28 11:01 -------
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's annoying to have to specify ports
for each RPC daemon, and many RPC daemons don't have this option.

------- Additional Comment #3 From Ulrich Drepper 2005-09-22 17:23 -------
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.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In