Bug 174740 - ypserv starts before cupsd and can steal port
Summary: ypserv starts before cupsd and can steal port
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: ypserv
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-01 20:35 UTC by Bill Adams
Modified: 2015-01-08 00:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 18:50:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bill Adams 2005-12-01 20:35:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Description of problem:
After a reboot, cupsd would not start.  /var/log/cups/error_log said socket address already in use.  lsof showed ypbind listening on ipp port 631.

Workaround was:
service ypbind stop
service ypbind start
service cups start

Version-Release number of selected component (if applicable):
ypbind-1.12-5

How reproducible:
Couldn't Reproduce


Additional info:

The bug is that ypserv listens on a well-known port.

Comment 1 Bill Adams 2005-12-01 20:38:43 UTC
Meant to say ypserv-2.8-6 

Comment 2 Bill Adams 2006-02-16 19:05:13 UTC
I think this bug can be fixed in the ypserv rpm, so that ypserv starts after
cupsd, and any other root daemon.  AFAIK, ypserv binds INADDR_ANY, to any
available privileged port.

Comment 3 RHEL Program Management 2007-10-19 18:50:20 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.

Comment 4 Bill Adams 2007-10-19 20:36:08 UTC
Have you determined that this bug does not exist in RHEL4?


Note You need to log in before you can comment on or make changes to this bug.