home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22397 < prev    next >
Encoding:
Text File  |  1993-01-01  |  2.0 KB  |  52 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!mnl
  3. From: mnl@dtro.e-technik.th-darmstadt.de (Michael N. Lipp)
  4. Subject: libc.so.4.2 Caveats!
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <MNL.93Jan2002919@mnlsun.dtro.e-technik.th-darmstadt.de>
  7. Date: Sat, 2 Jan 1993 00:29:19 GMT
  8. Nntp-Posting-Host: mnlsun.dtro.e-technik.th-darmstadt.de
  9. Organization: TH-Darmstadt
  10. Lines: 40
  11.  
  12. I have experienced two major problems with the new libc.so.4.2. (Note that
  13. I started my Linux with SLS .98p5)
  14.  
  15. 1) The new library has an improved "gethostbyname". A new file
  16.    /usr/etc/inet/host.conf is used to set options. If this file is missing,
  17.    a file containing a single line
  18.  
  19.      order bind
  20.  
  21.    is assumed. This means that ONLY DNS is used to resolve hostnames. Your
  22.    /usr/etc/inet/hosts is never consulted!  As I don't have the named
  23.    running, I had to create a file /usr/etc/inet/host.conf containing
  24.    the line
  25.  
  26.      order hosts
  27.  
  28.    Actually, you can have
  29.  
  30.      order hosts nis bind
  31.  
  32.    or any other combination. I did not try to find out about the other
  33.    keywords that can be used in host.conf from the source. Perharps
  34.    whoever wrote the new version can post a little doc.
  35.  
  36. 2) sed doesn't work any more. I have recompiled it using FSF sed-1.13.tar.Z.
  37.    Strange enough, although I removed the sed-local regex.o getop.o and
  38.    getopt1.o (thus using the functions in libc.so.4.2) and compiled with
  39.    -O2, my new sed is about twice as large as the old one. Was it not
  40.    FSF sed-1.13 in the SLS distribution?
  41.  
  42. Hope that helps.
  43.  
  44. Michael
  45. --
  46. -----------------,------------------------------,------------------------------
  47. Michael N. Lipp  !  Institut fuer Datentechnik  !  Phone: 49-6151-163776
  48.                  !  Merckstr. 25     ,----------'  Fax:   49-6151-164976
  49.                  !  D-6100 Darmstadt ! E-Mail:
  50.                  !  (Germany)        !     mnl@dtro.e-technik.th-darmstadt.de
  51. -----------------'-------------------'-----------------------------------------
  52.