home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8578 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  3.3 KB

  1. Path: sparky!uunet!gossip.pyramid.com!olivea!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!rpi!ghost.dsi.unimi.it!newsserver.di.unipi.it!pical2!luigi
  2. From: luigi@pical2.uucp (Luigi Rizzo)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: mountd/portmap/NFS problem -- solved.
  5. Message-ID: <1992Nov7.155354.3562@di.unipi.it>
  6. Date: 7 Nov 92 15:53:54 GMT
  7. References: <1992Nov5.175351.26079@cs.brown.edu>
  8. Sender: netnews@di.unipi.it (USENET News System)
  9. Reply-To: luigi@iet.unipi.it
  10. Organization: Dip. di Ingegneria dell'Informazione, Univ. di Pisa (ITALY)
  11. Lines: 87
  12. Nntp-Posting-Host: pical2.iet.unipi.it
  13.  
  14.  
  15. Thanks to all who replied. My problem actually involves two (known)
  16. 'features' of mountd and the nfs client code. Portmap seems to be
  17. innocent.
  18.  
  19. The first bug is related to mountd, and the description is as
  20. follows:
  21.  
  22. ========================================
  23. Bug Number:     MISC006
  24. Problem:
  25.     mountd hangs when exporting a file system sub-directory
  26. Explanation:
  27.         If /etc/exports contained:
  28.  
  29.                 /usr/src -root=0
  30.  
  31.         And /usr was not a file system unto itself, mountd went into an
  32.        infinite loop and stayed there.
  33. Solution:
  34.  
  35.         The fix:  in /usr/src/sbin/mountd/mountd.c, line 592 reads:
  36.                 while (*cp == '/' && cp > ep->ex_dirp)
  37.         and should read:
  38.                 while (*(cp-1) == '/' && cp > ep->ex_dirp)
  39.  
  40. PATCH00054
  41.  
  42. Submitted by:
  43.         roe@unibase.sk.ca (Roe Peterson)
  44. Solved by:
  45.         (same)
  46. ========================================
  47.  
  48. Unfortunately, the /etc/exports you get with the standard distribution
  49. (bin01) tries to export /usr/bill while the filesystem is /, thus
  50. triggering the bug. Many many people must have had this problem.  I
  51. didn't understand it because, at first, I thought the bug would appear
  52. only when a mount request actually arrived. Which is wrong!
  53.  
  54. The second problem has to do with the remote NFS server requiring
  55. for requests to come from a reserved port. The bug description is as
  56. follows:
  57.  
  58. ========================================
  59. Bug Number:     MISC019
  60. Problem:
  61.         NFS bugs.
  62.                 Appending to already existing files.
  63.                 Read request hangs.
  64.                 IBM AIX 3.2 client fixes.
  65.                 reserved ports for NFS.
  66.                 Subdirectories can be exported.
  67. Explanation:
  68.         In the patch.
  69. Solution:
  70.  
  71. PATCH00016
  72. PATCH00042
  73. PATCH00053
  74.  
  75. Submitted by:
  76.         comp.unix.bsd
  77.         root@snowhite.cis.uoguelph.ca (gopher I)
  78. Solved by:
  79.         comp.unix.bsd
  80.         arnej@Lise.Unit.NO (Arne Henrik Juul)
  81.         martin@innovis.com (Martin Galassi)
  82.         root@snowhite.cis.uoguelph.ca (gopher I)
  83.  
  84. ============================================
  85.  
  86. I experienced the problem with Ultrix 4.1. Unfortunately this bug is
  87. particularly bad for me because in order to rebuild the kernel I
  88. need disk space, and I hoped to get it by NFS-mounting a disk from a
  89. big brother...  So I'd really appreciate if someone could point me
  90. to a ready-to-run kernel with the NFS patches applied. Same for
  91. a working mountd.
  92.  
  93.     Thanks
  94.     Luigi
  95. ====================================================================
  96. Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
  97. email: luigi@iet.unipi.it       Universita' di Pisa
  98. tel: +39-50-568533              via Diotisalvi 2, 56124 PISA (Italy)
  99. fax: +39-50-568522
  100. ====================================================================
  101.