Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] DNS not working except as root
Date: Sat, 12 May 2001 09:01:11
Message-Id: 3AFD4961.51095FBE@gentoo.org
In Reply to: Re: [gentoo-dev] DNS not working except as root by Collins Richey
1 Collins Richey wrote:
2 >
3 > On Sat, 12 May 2001 12:41:15 +0200 AGottinger@××××××××.de (Achim
4 > Gottinger) wrote:
5 >
6 > > Collins Richey wrote:
7 > > >
8 >
9 > > > A normal user is denied access to DNS requests, which means
10 > > that you can only gain internet access with specific ip
11 > addresses.
12 > > >
13 > > > Where are the controls for permitting DNS requests?
14 > > >
15 >
16 > > hrm, give /tmp a sticky bit, that fixed various problems I had
17 > > here as a normal user.
18 > >
19 >
20 > /tmp was already 1777,
21 You should also set the sticky bit (chmod +t /tmp). I had a problem with
22 netscape here.
23 Netscape created a file called /tmp/ndebug as root. As I tried to start
24 netscape as a
25 normal user it segfaulted. I added the sticky bit and now all files
26 created in /tmp are
27 owned by root automatic, so normal users can overwrite such files
28 without problems.
29 Before that fix I could not start gnome a s a normal user (the file that
30 caused the problem was /tmp/languages in this case)
31 After the fix it worked.
32
33 but your second post fixed most of the
34 > problem, ie /etc/resolv.conf was 600 now 644.
35 >
36 > Now I can browse with konqueror using names instead of ip
37 > addresses.
38 >
39 > I still have one minor problem that I have seen before. Some
40 > distros have the problem, some don't. I still can't use the
41 > name for my mail server under sylpheed, just the ip address. On
42 > my Sybil (Caldera 3.1 Beta) distro, this works, but
43 > /etc/resolv.conf, etc., looks pretty much the same.
44
45 did you assign your hostname to 127.0.0.1 in /etc/hosts or to your real
46 IP adress?
47 (just a suggestion). I will make a package for sylpheed so I can try
48 that here.
49
50 bye achim~
51
52 >
53 > This isn't a biggie. I've never figured it out.
54 >
55 > Thanks,
56 > ---
57 > Collins Richey
58 > Denver area
59 > gentoo system
60 >
61 > _______________________________________________
62 > gentoo-dev mailing list
63 > gentoo-dev@g.o
64 > http://www.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
Re: [gentoo-dev] DNS not working except as root Collins Richey <erichey2@××××.com>