{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/268","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/268/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/268/events","html_url":"https://github.com/PowerDNS/pdns/issues/268","id":13684337,"number":268,"title":"drop privileges before creating the controlsocket","user":{"login":"Habbie","id":525838,"avatar_url":"https://avatars.githubusercontent.com/u/525838?v=3","gravatar_id":"","url":"https://api.github.com/users/Habbie","html_url":"https://github.com/Habbie","followers_url":"https://api.github.com/users/Habbie/followers","following_url":"https://api.github.com/users/Habbie/following{/other_user}","gists_url":"https://api.github.com/users/Habbie/gists{/gist_id}","starred_url":"https://api.github.com/users/Habbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Habbie/subscriptions","organizations_url":"https://api.github.com/users/Habbie/orgs","repos_url":"https://api.github.com/users/Habbie/repos","events_url":"https://api.github.com/users/Habbie/events{/privacy}","received_events_url":"https://api.github.com/users/Habbie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/enhancement","name":"enhancement","color":"cccccc"},{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/rec","name":"rec","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-04-26T11:29:28Z","updated_at":"2015-03-06T14:49:43Z","closed_at":"2015-03-06T14:49:43Z","body":"Imho you should drop root privs before creating a control-socket and pidfile. This automatically requires a writable /var/run/powerdns (e.g.) for the configured user to write its control socket and pidfile in.\r\n"}}