{"action":"closed","number":371,"pull_request":{"url":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371","id":79254075,"html_url":"https://github.com/OpenXT/xenclient-oe/pull/371","diff_url":"https://github.com/OpenXT/xenclient-oe/pull/371.diff","patch_url":"https://github.com/OpenXT/xenclient-oe/pull/371.patch","issue_url":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/371","number":371,"state":"closed","locked":false,"title":"refpolicy: Do not allow sending to dbus unconfined domains by default.","user":{"login":"stephensmalley","id":7840580,"avatar_url":"https://avatars.githubusercontent.com/u/7840580?v=3","gravatar_id":"","url":"https://api.github.com/users/stephensmalley","html_url":"https://github.com/stephensmalley","followers_url":"https://api.github.com/users/stephensmalley/followers","following_url":"https://api.github.com/users/stephensmalley/following{/other_user}","gists_url":"https://api.github.com/users/stephensmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/stephensmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephensmalley/subscriptions","organizations_url":"https://api.github.com/users/stephensmalley/orgs","repos_url":"https://api.github.com/users/stephensmalley/repos","events_url":"https://api.github.com/users/stephensmalley/events{/privacy}","received_events_url":"https://api.github.com/users/stephensmalley/received_events","type":"User","site_admin":false},"body":"Upstream refpolicy commit 6bef7a14757124c56fadc08c255e9dd6c29a15f9\r\nadded a reverse rule for the existing rule that allowed dbus unconfined\r\ndomains to send to any dbus client in order to allow those dbus clients to\r\nanswer.  However, this exposes dbus unconfined domains (i.e. those domains\r\nwhich are allowed to send to any dbus destination) to any regular\r\ndbus client.  Remove this rule.  Explicit rules on individual domain\r\npairs can be added if needed.\r\n\r\nIn the specific case of OpenXT, this opened up D-BUS send from staff_t\r\nor any other dbus client domain to xenmgr (xend_t), since the OpenXT policy\r\npatches make xend_t an unconfined domain.  The user-visible effect was\r\nthat xec and xec-vm worked from a staff_t shell rather than requiring\r\na newrole.  This change restores the prior behavior of denying use of\r\nxec or xec-vm by staff_t.\r\n\r\nThe longer term fix is to remove unconfined from xend_t and\r\nultimately remove the unconfined module entirely from the OpenXT\r\npolicy and fully confine all domains, but that is likely to have\r\nwider side effects and require substantially more testing.\r\n\r\nOXT-686\r\n\r\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","created_at":"2016-07-28T19:29:44Z","updated_at":"2016-08-02T17:32:43Z","closed_at":"2016-08-02T17:32:43Z","merged_at":"2016-08-02T17:32:43Z","merge_commit_sha":"0d786307255b4e837e20e98fa4890dcf22c394da","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371/commits","review_comments_url":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371/comments","review_comment_url":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/371/comments","statuses_url":"https://api.github.com/repos/OpenXT/xenclient-oe/statuses/ece304f6ab168cb1930a326e31e170d247b22497","head":{"label":"stephensmalley:oxt686","ref":"oxt686","sha":"ece304f6ab168cb1930a326e31e170d247b22497","user":{"login":"stephensmalley","id":7840580,"avatar_url":"https://avatars.githubusercontent.com/u/7840580?v=3","gravatar_id":"","url":"https://api.github.com/users/stephensmalley","html_url":"https://github.com/stephensmalley","followers_url":"https://api.github.com/users/stephensmalley/followers","following_url":"https://api.github.com/users/stephensmalley/following{/other_user}","gists_url":"https://api.github.com/users/stephensmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/stephensmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephensmalley/subscriptions","organizations_url":"https://api.github.com/users/stephensmalley/orgs","repos_url":"https://api.github.com/users/stephensmalley/repos","events_url":"https://api.github.com/users/stephensmalley/events{/privacy}","received_events_url":"https://api.github.com/users/stephensmalley/received_events","type":"User","site_admin":false},"repo":{"id":51376337,"name":"xenclient-oe","full_name":"stephensmalley/xenclient-oe","owner":{"login":"stephensmalley","id":7840580,"avatar_url":"https://avatars.githubusercontent.com/u/7840580?v=3","gravatar_id":"","url":"https://api.github.com/users/stephensmalley","html_url":"https://github.com/stephensmalley","followers_url":"https://api.github.com/users/stephensmalley/followers","following_url":"https://api.github.com/users/stephensmalley/following{/other_user}","gists_url":"https://api.github.com/users/stephensmalley/gists{/gist_id}","starred_url":"https://api.github.com/users/stephensmalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephensmalley/subscriptions","organizations_url":"https://api.github.com/users/stephensmalley/orgs","repos_url":"https://api.github.com/users/stephensmalley/repos","events_url":"https://api.github.com/users/stephensmalley/events{/privacy}","received_events_url":"https://api.github.com/users/stephensmalley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephensmalley/xenclient-oe","description":"","fork":true,"url":"https://api.github.com/repos/stephensmalley/xenclient-oe","forks_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/forks","keys_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/teams","hooks_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/hooks","issue_events_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/issues/events{/number}","events_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/events","assignees_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/assignees{/user}","branches_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/branches{/branch}","tags_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/tags","blobs_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/statuses/{sha}","languages_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/languages","stargazers_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/stargazers","contributors_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/contributors","subscribers_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/subscribers","subscription_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/subscription","commits_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/contents/{+path}","compare_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/merges","archive_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/downloads","issues_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/issues{/number}","pulls_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/pulls{/number}","milestones_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/milestones{/number}","notifications_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/labels{/name}","releases_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/releases{/id}","deployments_url":"https://api.github.com/repos/stephensmalley/xenclient-oe/deployments","created_at":"2016-02-09T15:40:04Z","updated_at":"2016-07-11T18:51:35Z","pushed_at":"2016-07-28T19:28:22Z","git_url":"git://github.com/stephensmalley/xenclient-oe.git","ssh_url":"git@github.com:stephensmalley/xenclient-oe.git","clone_url":"https://github.com/stephensmalley/xenclient-oe.git","svn_url":"https://github.com/stephensmalley/xenclient-oe","homepage":null,"size":9710,"stargazers_count":0,"watchers_count":0,"language":"BitBake","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenXT:master","ref":"master","sha":"dcc38dfb138b32274d47e08707bd0a5f798b1c3f","user":{"login":"OpenXT","id":7283187,"avatar_url":"https://avatars.githubusercontent.com/u/7283187?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenXT","html_url":"https://github.com/OpenXT","followers_url":"https://api.github.com/users/OpenXT/followers","following_url":"https://api.github.com/users/OpenXT/following{/other_user}","gists_url":"https://api.github.com/users/OpenXT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenXT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenXT/subscriptions","organizations_url":"https://api.github.com/users/OpenXT/orgs","repos_url":"https://api.github.com/users/OpenXT/repos","events_url":"https://api.github.com/users/OpenXT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenXT/received_events","type":"Organization","site_admin":false},"repo":{"id":20779371,"name":"xenclient-oe","full_name":"OpenXT/xenclient-oe","owner":{"login":"OpenXT","id":7283187,"avatar_url":"https://avatars.githubusercontent.com/u/7283187?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenXT","html_url":"https://github.com/OpenXT","followers_url":"https://api.github.com/users/OpenXT/followers","following_url":"https://api.github.com/users/OpenXT/following{/other_user}","gists_url":"https://api.github.com/users/OpenXT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenXT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenXT/subscriptions","organizations_url":"https://api.github.com/users/OpenXT/orgs","repos_url":"https://api.github.com/users/OpenXT/repos","events_url":"https://api.github.com/users/OpenXT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenXT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenXT/xenclient-oe","description":"","fork":false,"url":"https://api.github.com/repos/OpenXT/xenclient-oe","forks_url":"https://api.github.com/repos/OpenXT/xenclient-oe/forks","keys_url":"https://api.github.com/repos/OpenXT/xenclient-oe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenXT/xenclient-oe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenXT/xenclient-oe/teams","hooks_url":"https://api.github.com/repos/OpenXT/xenclient-oe/hooks","issue_events_url":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/events{/number}","events_url":"https://api.github.com/repos/OpenXT/xenclient-oe/events","assignees_url":"https://api.github.com/repos/OpenXT/xenclient-oe/assignees{/user}","branches_url":"https://api.github.com/repos/OpenXT/xenclient-oe/branches{/branch}","tags_url":"https://api.github.com/repos/OpenXT/xenclient-oe/tags","blobs_url":"https://api.github.com/repos/OpenXT/xenclient-oe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenXT/xenclient-oe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenXT/xenclient-oe/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenXT/xenclient-oe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenXT/xenclient-oe/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenXT/xenclient-oe/languages","stargazers_url":"https://api.github.com/repos/OpenXT/xenclient-oe/stargazers","contributors_url":"https://api.github.com/repos/OpenXT/xenclient-oe/contributors","subscribers_url":"https://api.github.com/repos/OpenXT/xenclient-oe/subscribers","subscription_url":"https://api.github.com/repos/OpenXT/xenclient-oe/subscription","commits_url":"https://api.github.com/repos/OpenXT/xenclient-oe/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenXT/xenclient-oe/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenXT/xenclient-oe/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenXT/xenclient-oe/contents/{+path}","compare_url":"https://api.github.com/repos/OpenXT/xenclient-oe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenXT/xenclient-oe/merges","archive_url":"https://api.github.com/repos/OpenXT/xenclient-oe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenXT/xenclient-oe/downloads","issues_url":"https://api.github.com/repos/OpenXT/xenclient-oe/issues{/number}","pulls_url":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenXT/xenclient-oe/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenXT/xenclient-oe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenXT/xenclient-oe/labels{/name}","releases_url":"https://api.github.com/repos/OpenXT/xenclient-oe/releases{/id}","deployments_url":"https://api.github.com/repos/OpenXT/xenclient-oe/deployments","created_at":"2014-06-12T19:00:56Z","updated_at":"2016-07-27T19:14:42Z","pushed_at":"2016-08-02T17:32:44Z","git_url":"git://github.com/OpenXT/xenclient-oe.git","ssh_url":"git@github.com:OpenXT/xenclient-oe.git","clone_url":"https://github.com/OpenXT/xenclient-oe.git","svn_url":"https://github.com/OpenXT/xenclient-oe","homepage":null,"size":10219,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":8,"forks":26,"open_issues":8,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371"},"html":{"href":"https://github.com/OpenXT/xenclient-oe/pull/371"},"issue":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/371"},"comments":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/OpenXT/xenclient-oe/statuses/ece304f6ab168cb1930a326e31e170d247b22497"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jean-edouard","id":7863904,"avatar_url":"https://avatars.githubusercontent.com/u/7863904?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-edouard","html_url":"https://github.com/jean-edouard","followers_url":"https://api.github.com/users/jean-edouard/followers","following_url":"https://api.github.com/users/jean-edouard/following{/other_user}","gists_url":"https://api.github.com/users/jean-edouard/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-edouard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-edouard/subscriptions","organizations_url":"https://api.github.com/users/jean-edouard/orgs","repos_url":"https://api.github.com/users/jean-edouard/repos","events_url":"https://api.github.com/users/jean-edouard/events{/privacy}","received_events_url":"https://api.github.com/users/jean-edouard/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"jean-edouard"}}