{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/3","labels_url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/3/comments","events_url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/3/events","html_url":"https://github.com/fedora-selinux/setroubleshoot/pull/3","id":65441674,"number":3,"title":"setroubleshootd: run server with setroubleshoot uid instead of root","user":{"login":"bachradsusi","id":8234493,"avatar_url":"https://avatars.githubusercontent.com/u/8234493?v=3","gravatar_id":"","url":"https://api.github.com/users/bachradsusi","html_url":"https://github.com/bachradsusi","followers_url":"https://api.github.com/users/bachradsusi/followers","following_url":"https://api.github.com/users/bachradsusi/following{/other_user}","gists_url":"https://api.github.com/users/bachradsusi/gists{/gist_id}","starred_url":"https://api.github.com/users/bachradsusi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachradsusi/subscriptions","organizations_url":"https://api.github.com/users/bachradsusi/orgs","repos_url":"https://api.github.com/users/bachradsusi/repos","events_url":"https://api.github.com/users/bachradsusi/events{/privacy}","received_events_url":"https://api.github.com/users/bachradsusi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-31T12:43:00Z","updated_at":"2015-04-02T10:10:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/pulls/3","html_url":"https://github.com/fedora-selinux/setroubleshoot/pull/3","diff_url":"https://github.com/fedora-selinux/setroubleshoot/pull/3.diff","patch_url":"https://github.com/fedora-selinux/setroubleshoot/pull/3.patch"},"body":"setroubleshootd doesn't really need to be run with root privileges. This patch changes code and dbus service setting to run setroubleshoot with setrbleshoot user. \r\n\r\nThere's available a patch for Fedora dist-git [1]. The patch also changes the spec file to create setroubleshoot user, change owner of /var/lib/setroubleshoot and /var/run/setroubleshoot and add tmpfiles.d configation file to create /run/setroubleshoot directory on boot.\r\n\r\n[1] https://plautrba.fedorapeople.org/setroubleshoot/setroubleshootd-run-server-with-setroubleshoot-uid-i.patch \r\nsrc.rpm is available at https://plautrba.fedorapeople.org/setroubleshoot/setroubleshoot-3.2.22-2.fc23.2.src.rpm"},"comment":{"url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/comments/88856971","html_url":"https://github.com/fedora-selinux/setroubleshoot/pull/3#issuecomment-88856971","issue_url":"https://api.github.com/repos/fedora-selinux/setroubleshoot/issues/3","id":88856971,"user":{"login":"bachradsusi","id":8234493,"avatar_url":"https://avatars.githubusercontent.com/u/8234493?v=3","gravatar_id":"","url":"https://api.github.com/users/bachradsusi","html_url":"https://github.com/bachradsusi","followers_url":"https://api.github.com/users/bachradsusi/followers","following_url":"https://api.github.com/users/bachradsusi/following{/other_user}","gists_url":"https://api.github.com/users/bachradsusi/gists{/gist_id}","starred_url":"https://api.github.com/users/bachradsusi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachradsusi/subscriptions","organizations_url":"https://api.github.com/users/bachradsusi/orgs","repos_url":"https://api.github.com/users/bachradsusi/repos","events_url":"https://api.github.com/users/bachradsusi/events{/privacy}","received_events_url":"https://api.github.com/users/bachradsusi/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T10:10:22Z","updated_at":"2015-04-02T10:10:22Z","body":"The \"Rejected send message\" is not related to the drop privileges but it's due to wrong dbus configuration. I've pushed a fix for that to this branch and run a copr build https://copr.fedoraproject.org/coprs/plautrba/selinux/build/84239/\r\n\r\nPlease re-review"}}