Bug 166918 - ypserv and mountd sometimes fails to start during boot up
ypserv and mountd sometimes fails to start during boot up
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-08-27 14:55 EDT by Alexandre Oliva
Modified: 2008-08-02 19:40 EDT (History)
3 users (show)

See Also:
Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-19 06:37:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2005-08-27 14:55:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8b3) Gecko/20050818 Fedora/1.1-0.2.7.deerpark.alpha2.1 Firefox/1.0+

Description of problem:
Ever since I switched a lab server at the uni from FC3 to FC4, both running `everything' installs, the nis server would sometimes fail to start after reboots.  /var/log/messages contains hints as to what caused the problem:

Aug 27 11:49:31 emilia ypserv[1962]: ypserv: unable to register (YPPROG, YPOLDVERS, tcp)
Aug 27 11:49:31 emilia portmap[1970]: connect from to set(ypserv): request from unprivileged port
Aug 27 11:50:26 emilia ypbind[1974]: broadcast: RPC: Timed out.

but it doesn't explain why ypserv would have bound itself to an unprivileged port to request portmap registration.  Could it be that it's temporarily run out of privileged ports or something like that?

Since this has caused very serious problems (major loss of e-mail and inability for people to log in all over the lab), I'm filing this as high priority.

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

How reproducible:

Steps to Reproduce:
1.Boot up an NIS server

Actual Results:  ypserv sometimes doesn't come up

Expected Results:  ideally there should be a way to tell the system to not continue the boot up if that happens, but really, it shouldn't happen

Additional info:
Comment 1 Alexandre Oliva 2005-09-02 16:22:15 EDT
This morning, nfs mountd failed to come up, for identical reasons.  He's what
the logs have to say:

Sep  2 06:39:43 emilia rpc.mountd: unable to register (mountd, 1, udp).
Sep  2 06:39:43 emilia portmap[17839]: connect from to set(mountd):
request from unprivileged port

I doubt this is a problem in portmap.  Could it be something wrong in glibc's
privileged port binding request, or in the client side of portmap registration
or something like that?
Comment 2 Steve Dickson 2005-09-06 06:55:32 EDT
Are a large number of NFS mounts happen at the same time?
Comment 3 Alexandre Oliva 2005-09-06 10:02:44 EDT
Certainly not at the time ypserv is started.  Not sure whether you mean client
or server mounts, so I'll answer both.  This is an NIS and NFS server used by
about a dozen other boxes, so when NFS starts up, it is possible that other
boxes are attempting to NFS mount from it, or to restore NFS mounts from before
the server's reboot.  It doesn't have any NFS mounts specified in /etc/fstab,
and it shouldn't need any external NFS servers to boot up, even though autofs
will mount from external servers on demand.  But that's after ypserv has
successfully started, since all external autofs mounts are specified in NIS maps.
Comment 4 Orion Poplawski 2006-01-11 12:36:43 EST
Currently, I would say that rpc.mountd fails to start 90% of the time now for me.
Comment 5 Christian Iseli 2007-01-22 05:28:18 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Comment 6 Orion Poplawski 2007-01-22 12:29:05 EST
I think this was an SELinux issue that was fixed at least in FC5+.

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