home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16751 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.4 KB  |  31 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!alijku05!kuemmel2.edvz.uni-linz.ac.at!K111114
  3. From: K111114@kuemmel2.edvz.uni-linz.ac.at (Herbert Rosmanith)
  4. Subject: gethostbyname()
  5. Message-ID: <K111114.2.721797468@kuemmel2.edvz.uni-linz.ac.at>
  6. Sender: news@alijku05.edvz.uni-linz.ac.at
  7. Nntp-Posting-Host: kuemmel2.edvz.uni-linz.ac.at
  8. Organization: PC Cluster im TNF Turm
  9. Date: Sun, 15 Nov 1992 03:17:48 GMT
  10. Lines: 19
  11.  
  12. Hi all.
  13.  
  14. I compiled the ircII client under Linux (got it working after a while ...),
  15. then I logged in as root, started irc, everything was all right.
  16. But when I logged in as guest, the irc-client was hung. Hm.
  17. What was the problem:
  18. After inserting some prints in irc.c, I found out that the system does not
  19. return from the gethostbyname() call when being "guest", being "root" had no
  20. problem. Since I don't run named (nameservice is done in the computing 
  21. centre), I looked at /usr/etc/resolv.conf and found out, that it had the
  22. perms: -rw------- root root resolv.conf.
  23. After doing a chmod a+r , everything was fine.
  24. Surely it was my fault to have the wrong perms for resolv.conf, but shouldn't
  25. there be a error-message "permission denied" ... But ... who is reading the 
  26. resolv.conf ? It is the inetd ? If so, there should be no problem, if not,
  27. there should be error message. Or whatever ... :-)
  28.  
  29. Herp.
  30.  
  31.