{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/3387","repository_url":"https://api.github.com/repos/PowerDNS/pdns","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3387/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3387/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/3387/events","html_url":"https://github.com/PowerDNS/pdns/issues/3387","id":133914100,"number":3387,"title":"pdnsutil fails silently when not authorized to access the backend","user":{"login":"maikzumstrull","id":8179560,"avatar_url":"https://avatars.githubusercontent.com/u/8179560?v=3","gravatar_id":"","url":"https://api.github.com/users/maikzumstrull","html_url":"https://github.com/maikzumstrull","followers_url":"https://api.github.com/users/maikzumstrull/followers","following_url":"https://api.github.com/users/maikzumstrull/following{/other_user}","gists_url":"https://api.github.com/users/maikzumstrull/gists{/gist_id}","starred_url":"https://api.github.com/users/maikzumstrull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maikzumstrull/subscriptions","organizations_url":"https://api.github.com/users/maikzumstrull/orgs","repos_url":"https://api.github.com/users/maikzumstrull/repos","events_url":"https://api.github.com/users/maikzumstrull/events{/privacy}","received_events_url":"https://api.github.com/users/maikzumstrull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T08:24:19Z","updated_at":"2016-02-16T08:24:19Z","closed_at":null,"body":"```\r\nroot@cbk130544:~# pdnsutil show-zone sys11cloud.net\r\nroot@cbk130544:~# sudo -u pdns pdnsutil show-zone sys11cloud.net\r\nThis is a Native zone\r\nZone is not actively secured\r\nMetadata items: None\r\nNo keys for zone 'sys11cloud.net.'.\r\nroot@cbk130544:~#\r\n```\r\n\r\nBackend configuration:\r\n```\r\nlaunch=gpgsql\r\n\r\ngpgsql-host=/var/run/postgresql\r\ngpgsql-dbname=pdns\r\ngpgsql-user=pdns\r\n```\r\n\r\nThe password wasn't redacted; none is specified or needed, because PostgreSQL uses unix permissions with sockets. Anything running as \"pdns\" can access, anyone else (including root) cannot. The exit status is 1, it just doesn't say anything."}}