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