home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- 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
- From: K111114@kuemmel2.edvz.uni-linz.ac.at (Herbert Rosmanith)
- Subject: gethostbyname()
- Message-ID: <K111114.2.721797468@kuemmel2.edvz.uni-linz.ac.at>
- Sender: news@alijku05.edvz.uni-linz.ac.at
- Nntp-Posting-Host: kuemmel2.edvz.uni-linz.ac.at
- Organization: PC Cluster im TNF Turm
- Date: Sun, 15 Nov 1992 03:17:48 GMT
- Lines: 19
-
- Hi all.
-
- I compiled the ircII client under Linux (got it working after a while ...),
- then I logged in as root, started irc, everything was all right.
- But when I logged in as guest, the irc-client was hung. Hm.
- What was the problem:
- After inserting some prints in irc.c, I found out that the system does not
- return from the gethostbyname() call when being "guest", being "root" had no
- problem. Since I don't run named (nameservice is done in the computing
- centre), I looked at /usr/etc/resolv.conf and found out, that it had the
- perms: -rw------- root root resolv.conf.
- After doing a chmod a+r , everything was fine.
- Surely it was my fault to have the wrong perms for resolv.conf, but shouldn't
- there be a error-message "permission denied" ... But ... who is reading the
- resolv.conf ? It is the inetd ? If so, there should be no problem, if not,
- there should be error message. Or whatever ... :-)
-
- Herp.
-
-