{"action":"opened","issue":{"url":"https://api.github.com/repos/gaenserich/hostsblock/issues/70","repository_url":"https://api.github.com/repos/gaenserich/hostsblock","labels_url":"https://api.github.com/repos/gaenserich/hostsblock/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/gaenserich/hostsblock/issues/70/comments","events_url":"https://api.github.com/repos/gaenserich/hostsblock/issues/70/events","html_url":"https://github.com/gaenserich/hostsblock/issues/70","id":246312756,"number":70,"title":"dnsmasq daemon has no access to hostsblock's new dir","user":{"login":"tukoz","id":2217680,"avatar_url":"https://avatars2.githubusercontent.com/u/2217680?v=4","gravatar_id":"","url":"https://api.github.com/users/tukoz","html_url":"https://github.com/tukoz","followers_url":"https://api.github.com/users/tukoz/followers","following_url":"https://api.github.com/users/tukoz/following{/other_user}","gists_url":"https://api.github.com/users/tukoz/gists{/gist_id}","starred_url":"https://api.github.com/users/tukoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tukoz/subscriptions","organizations_url":"https://api.github.com/users/tukoz/orgs","repos_url":"https://api.github.com/users/tukoz/repos","events_url":"https://api.github.com/users/tukoz/events{/privacy}","received_events_url":"https://api.github.com/users/tukoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T10:45:55Z","updated_at":"2017-07-28T10:45:55Z","closed_at":null,"body":"On Arch linux, hostsblock v0.999.4-1.\r\n\r\n1. hostsblocks configuration\r\n\r\n/var/lib/hostsblock/hostsblock.conf\r\n```\r\n# Example 1: dnsmasq under systemd\r\npostprocess() {                                                                     \r\n    sudo /usr/bin/systemctl reload dnsmasq.service                                  \r\n}\r\n```\r\n2. Permission for hostsblock & dnsmasq process\r\n\r\n$ ls -ld /var/lib/hostsblock/\r\n`drwxr-x--- 3 hostsblock hostsblock 4096 juil. 28 12:26 /var/lib/hostsblock/`\r\n\r\nls -l /var/lib/hostsblock/\r\n```\r\ntotal 26924\r\ndrwxr-xr-x 2 hostsblock hostsblock     4096 juil. 28 00:00 cache/\r\n-rw-r----- 1 hostsblock hostsblock      154 juil. 27 23:57 black.list\r\n-rw-r--r-- 1 hostsblock hostsblock 22374066 juil. 28 00:00 hosts.block\r\n-rw-r--r-- 1 hostsblock hostsblock     1360 juil. 27 23:41 hosts.head\r\n-rw-r----- 1 hostsblock hostsblock     9646 juil. 27 23:59 hostsblock.conf\r\n-rw-r--r-- 1 hostsblock hostsblock  5163435 juil. 28 00:00 hostsblock.db.gz\r\n-rw-r----- 1 hostsblock hostsblock     3381 juil. 27 23:56 white.list\r\n```\r\n/etc/group\r\n`hostsblock:x:1013:hostsblock,dnsmasq`\r\n\r\n$ ll -d /var/lib/hostsblock\r\n`drwxr-x--- 3 hostsblock 4,0K juil. 28 12:26 /var/lib/hostsblock/`\r\n\r\n3. restart dnsmasq daemon\r\n```\r\n# systemctl restart dnsmasq && systemctl status dnsmasq\r\n...\r\njuil. 28 12:29:02 HOST dnsmasq[2486]: failed to load names from /var/lib/hostsblock/hosts.block: Permission denied\r\n```\r\nLooks like I missed something. Note I haven't removed /etc/hostsblock dir yet."}}
{"actor":{"display_login":"tukoz"}}