ok another weird thing..I've always used dns based ad block for which dnsmasq read a hosts file from the mounted usb drive.
Today, i dont know if it has something to do with new build (r45250) or what, but dnsmasq is unable to read the file.
The file permissions are ok. Owner is root. i've even given it 777 permission. Still doesnt work. However if i put the file on e.g /etc. Then it is read fine
Fri Apr 3 23:15:53 2015 daemon.err dnsmasq[6943]: failed to load names from /mnt/sda1/scripts/hosts.block: Permission denied
USB is ext4, mounted as RW. i can read the host file fine via ssh. I deleted and recreated the hosts file but no luck.
Any clues?
EDIT: I think i found perhaps why. Looks like the dnsmasq process is not running as root for some reason. This is what i see in "ps"
6994 nobody 1852 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k -x /var/run/dnsmasq/dnsmasq.pid
EDIT 2: Apparently DNSMASQ in general downgrades itself to nobody from root after starting up as root. So the question is if that behavor is normal then why the permission error? a few builds back this was working fine and i never had any problem.
(Last edited by alirz on 5 Apr 2015, 22:28)