Results 1 to 4 of 4
I am running openSUSE 11.4 (Xfce) on my Dell Inspiron 6400.
I had dnsmasq working fine on 11.3 (only as caching nameserver, no DHCP). I used an external file /etc/my.resolv.conf ...
- 08-12-2011 #1Just Joined!
- Join Date
- Nov 2006
- Location
- near Berea, Kentucky (in a tipi)
- Posts
- 34
dnsmasq can't read file
I am running openSUSE 11.4 (Xfce) on my Dell Inspiron 6400.
I had dnsmasq working fine on 11.3 (only as caching nameserver, no DHCP). I used an external file /etc/my.resolv.conf to point it to the google nameservers (since /etc/resolv.conf gets overwritten by DHCP).
After I upgraded to 11.4 I copied the .conf files from backup. So far I haven't been able to get dnsmasq to work as it did before. In /var/log/messages I get
Code:dnsmasq[1369]: failed to read /etc/my.resolv.conf: Permission denied
I've tried chowning to dnsmasq (user as which dnsmasq runs), even setting permissions really loose (just as an experiment). No changes.Code:ls -l /etc/my.resolv.conf -rw-r--r-- 1 root root 142 Apr 12 13:16 /etc/my.resolv.conf
Will post /etc/dnsmasq.conf if you believe that would help, but obviously it is pointing to /etc/my.resolv.conf (and it's lengthy)
I have seen bugs like this described, but so far as I can tell they are (believed to be) fixed.
Any ideas?
Thanks,
Daniel
- 2 Weeks Ago #2Just Joined!
- Join Date
- May 2012
- Posts
- 2
goto Yast
Code:dnsmasq[1369]: failed to read /etc/my.resolv.conf: Permission denied
Any ideas?
Thanks,
Daniel
start "apparmor control panel"
"set profiles modes" click [configure]
set dnsmasq mode to "complain"
click [done] and [done]
and your dnsmasq works as before
A.
- 2 Weeks Ago #3Just Joined!
- Join Date
- Nov 2006
- Location
- near Berea, Kentucky (in a tipi)
- Posts
- 34
Thanks!
I collect you have made some progress in understanding apparmor, which obviously I haven't (I never even thought of it).
It is exactly as you say, dnsmasq no longer complains about being unable to read its conf.
Doesn't quite work, but at least now I can proceed to debug that.
- 2 Weeks Ago #4Just Joined!
- Join Date
- May 2012
- Posts
- 2
I was fighting the problem for some time already and just as you, i got stuck, till some other forum was discussing SMB and NMB problems, and they referred to apparmor, opening apparmor i saw to my joy the dnsmasq entry, i switched it and finally i could get a logfile and do other things that i was used to do before
good luck with the rest of your quest to fine-tune dnsmasq
A.


Reply With Quote
