home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23715 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!drycas.club.cc.cmu.edu!ghod
  2. From: ghod@drycas.club.cc.cmu.edu
  3. Newsgroups: comp.os.linux
  4. Subject: Re: SLS update: gcc 2.3.3, libc4.2, etc
  5. Message-ID: <1993Jan12.013617.2885@drycas.club.cc.cmu.edu>
  6. Date: 12 Jan 93 01:36:15 -0500
  7. References: <1993Jan11.205958.20840@klaava.Helsinki.FI>
  8. Followup-To: comp.os.linux
  9. Organization: Carnegie Mellon Computer Club
  10. Lines: 34
  11.  
  12. In article <1993Jan11.205958.20840@klaava.Helsinki.FI>, sanjuan!pmacdona@sol.UVic.CA (Peter MacDonald) writes:
  13. > This is a 1 day warning that SLS will be ugraded tomorrow,
  14. > Monday Jan 11, 1993 at about 9:00 am PST.  Be forewarned,
  15. > if you download SLS at this time, who knows what you'll 
  16. > get.
  17. > -------------------------------------------------------------
  18. > Announcing SLS 99 p2.  This is a massive upgrade to the first
  19. Yay! Time to start the 'midnight raids' again. :)
  20.  
  21. [stuff deleted for the sake of brevity]
  22. > still not be perfect).  Ftp seems to have a problem with ls (kernel?).
  23.                           ----------------------------------------------
  24. Uhm... I have this dreadful feeling I'm about to dredge up an old subject
  25. (again) but I think I solved this one -- assuming we're talking about the
  26. same ls/ftp problem that is. After I patched up my ftpd to use shadow
  27. passwords, I too noticed that doing an ls over the ftp connection to my machine
  28. did nothing. I discovered this was because /home/ftp/lib/libc.so.4 was 
  29. hard linked to the wrong shared library in /lib. Hence, ls would fail, but
  30. no 'wrong library' error messages ever appeared 'cause all output had been
  31. re-directed through ftpd. For the record, in my system, /home/ftp/bin/ls is
  32. just a hard link to /bin/ls and /home/ftp/lib/libc.so.4 is as link to
  33. /lib/libc.so.4.1  (I guess this should change to 4.2 for the new release).
  34. This was tricky to find because, when logged in as a normal user, / is still /,
  35. and /lib is still /lib, so /home/ftp/bin/ls works fine. But ftpd uses chroot()
  36. to make /home/ftp into /, which makes /home/ftp/lib into /lib and blammo...
  37. ls craps out. Hope this helps.
  38.  
  39. Kudos, Peter. Keep up the good work.
  40.  
  41. -Bill
  42.  
  43. ghod@drycas.club.cc.cmu.edu
  44.  
  45.