{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/83","repository_url":"https://api.github.com/repos/saltstack-formulas/bind-formula","labels_url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/83/comments","events_url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/83/events","html_url":"https://github.com/saltstack-formulas/bind-formula/issues/83","id":271046534,"number":83,"title":"Error with logrotate","user":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars3.githubusercontent.com/u/3433835?v=4","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-03T16:52:48Z","updated_at":"2018-03-26T18:28:48Z","closed_at":null,"author_association":"MEMBER","body":"Hi!\r\n\r\nI get an error with this logrotate :\r\n\r\n```\r\n/var/log/bind9/query.log {\r\n  rotate 7\r\n  daily\r\n  missingok\r\n  notifempty\r\n  sharedscripts\r\n  copytruncate\r\n  compress\r\n  create 0664 bind root\r\n  su\r\n}\r\n```\r\n\r\n```\r\nswitching euid to -1 and egid to -1\r\nerror: error switching euid to -1 and egid to -1: Invalid argument\r\n```\r\n\r\nI think we should pass user and group to the `su` directive : `su bind bind`.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/comments/376265617","html_url":"https://github.com/saltstack-formulas/bind-formula/issues/83#issuecomment-376265617","issue_url":"https://api.github.com/repos/saltstack-formulas/bind-formula/issues/83","id":376265617,"user":{"login":"javierbertoli","id":242396,"avatar_url":"https://avatars2.githubusercontent.com/u/242396?v=4","gravatar_id":"","url":"https://api.github.com/users/javierbertoli","html_url":"https://github.com/javierbertoli","followers_url":"https://api.github.com/users/javierbertoli/followers","following_url":"https://api.github.com/users/javierbertoli/following{/other_user}","gists_url":"https://api.github.com/users/javierbertoli/gists{/gist_id}","starred_url":"https://api.github.com/users/javierbertoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierbertoli/subscriptions","organizations_url":"https://api.github.com/users/javierbertoli/orgs","repos_url":"https://api.github.com/users/javierbertoli/repos","events_url":"https://api.github.com/users/javierbertoli/events{/privacy}","received_events_url":"https://api.github.com/users/javierbertoli/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T18:28:48Z","updated_at":"2018-03-26T18:28:48Z","author_association":"MEMBER","body":"@n-rodriguez I can't reproduce this error. Any other info you might share? Distro? packages versions (logrotate, bind9, etc?)"}}
{"actor":{"display_login":"javierbertoli"}}