{"action":"opened","number":250,"pull_request":{"url":"https://api.github.com/repos/coreos/go-systemd/pulls/250","id":171695767,"html_url":"https://github.com/coreos/go-systemd/pull/250","diff_url":"https://github.com/coreos/go-systemd/pull/250.diff","patch_url":"https://github.com/coreos/go-systemd/pull/250.patch","issue_url":"https://api.github.com/repos/coreos/go-systemd/issues/250","number":250,"state":"open","locked":false,"title":"activation: close files after creating listeners","user":{"login":"vincentbernat","id":631446,"avatar_url":"https://avatars2.githubusercontent.com/u/631446?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentbernat","html_url":"https://github.com/vincentbernat","followers_url":"https://api.github.com/users/vincentbernat/followers","following_url":"https://api.github.com/users/vincentbernat/following{/other_user}","gists_url":"https://api.github.com/users/vincentbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentbernat/subscriptions","organizations_url":"https://api.github.com/users/vincentbernat/orgs","repos_url":"https://api.github.com/users/vincentbernat/repos","events_url":"https://api.github.com/users/vincentbernat/events{/privacy}","received_events_url":"https://api.github.com/users/vincentbernat/received_events","type":"User","site_admin":false},"body":"This is an adaptation of #215 to ensure tests don't fail and extend\r\nthe behaviour to PacketConns(). A bit of test coverage is lost, but\r\njust testing if variable environments are not unset in the simple case\r\ndoesn't seem worth adding more code.\r\n\r\nFix #215","created_at":"2018-02-27T15:27:12Z","updated_at":"2018-02-27T15:27:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coreos/go-systemd/pulls/250/commits","review_comments_url":"https://api.github.com/repos/coreos/go-systemd/pulls/250/comments","review_comment_url":"https://api.github.com/repos/coreos/go-systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/go-systemd/issues/250/comments","statuses_url":"https://api.github.com/repos/coreos/go-systemd/statuses/b2904e28d893c0d7572913a56f7f99fbf6f789dd","head":{"label":"vincentbernat:fix/close-listener","ref":"fix/close-listener","sha":"b2904e28d893c0d7572913a56f7f99fbf6f789dd","user":{"login":"vincentbernat","id":631446,"avatar_url":"https://avatars2.githubusercontent.com/u/631446?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentbernat","html_url":"https://github.com/vincentbernat","followers_url":"https://api.github.com/users/vincentbernat/followers","following_url":"https://api.github.com/users/vincentbernat/following{/other_user}","gists_url":"https://api.github.com/users/vincentbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentbernat/subscriptions","organizations_url":"https://api.github.com/users/vincentbernat/orgs","repos_url":"https://api.github.com/users/vincentbernat/repos","events_url":"https://api.github.com/users/vincentbernat/events{/privacy}","received_events_url":"https://api.github.com/users/vincentbernat/received_events","type":"User","site_admin":false},"repo":{"id":123148456,"name":"go-systemd","full_name":"vincentbernat/go-systemd","owner":{"login":"vincentbernat","id":631446,"avatar_url":"https://avatars2.githubusercontent.com/u/631446?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentbernat","html_url":"https://github.com/vincentbernat","followers_url":"https://api.github.com/users/vincentbernat/followers","following_url":"https://api.github.com/users/vincentbernat/following{/other_user}","gists_url":"https://api.github.com/users/vincentbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentbernat/subscriptions","organizations_url":"https://api.github.com/users/vincentbernat/orgs","repos_url":"https://api.github.com/users/vincentbernat/repos","events_url":"https://api.github.com/users/vincentbernat/events{/privacy}","received_events_url":"https://api.github.com/users/vincentbernat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vincentbernat/go-systemd","description":"Go bindings to systemd socket activation, journal, D-Bus, and unit files","fork":true,"url":"https://api.github.com/repos/vincentbernat/go-systemd","forks_url":"https://api.github.com/repos/vincentbernat/go-systemd/forks","keys_url":"https://api.github.com/repos/vincentbernat/go-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincentbernat/go-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincentbernat/go-systemd/teams","hooks_url":"https://api.github.com/repos/vincentbernat/go-systemd/hooks","issue_events_url":"https://api.github.com/repos/vincentbernat/go-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/vincentbernat/go-systemd/events","assignees_url":"https://api.github.com/repos/vincentbernat/go-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/vincentbernat/go-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/vincentbernat/go-systemd/tags","blobs_url":"https://api.github.com/repos/vincentbernat/go-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincentbernat/go-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincentbernat/go-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincentbernat/go-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincentbernat/go-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/vincentbernat/go-systemd/languages","stargazers_url":"https://api.github.com/repos/vincentbernat/go-systemd/stargazers","contributors_url":"https://api.github.com/repos/vincentbernat/go-systemd/contributors","subscribers_url":"https://api.github.com/repos/vincentbernat/go-systemd/subscribers","subscription_url":"https://api.github.com/repos/vincentbernat/go-systemd/subscription","commits_url":"https://api.github.com/repos/vincentbernat/go-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincentbernat/go-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincentbernat/go-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincentbernat/go-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincentbernat/go-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/vincentbernat/go-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincentbernat/go-systemd/merges","archive_url":"https://api.github.com/repos/vincentbernat/go-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincentbernat/go-systemd/downloads","issues_url":"https://api.github.com/repos/vincentbernat/go-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/vincentbernat/go-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/vincentbernat/go-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/vincentbernat/go-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincentbernat/go-systemd/labels{/name}","releases_url":"https://api.github.com/repos/vincentbernat/go-systemd/releases{/id}","deployments_url":"https://api.github.com/repos/vincentbernat/go-systemd/deployments","created_at":"2018-02-27T15:26:12Z","updated_at":"2018-02-27T15:26:14Z","pushed_at":"2018-02-27T15:26:59Z","git_url":"git://github.com/vincentbernat/go-systemd.git","ssh_url":"git@github.com:vincentbernat/go-systemd.git","clone_url":"https://github.com/vincentbernat/go-systemd.git","svn_url":"https://github.com/vincentbernat/go-systemd","homepage":"","size":488,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"25fe332a900022d06a189ce01108392854c59df1","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":12821303,"name":"go-systemd","full_name":"coreos/go-systemd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/go-systemd","description":"Go bindings to systemd socket activation, journal, D-Bus, and unit files","fork":false,"url":"https://api.github.com/repos/coreos/go-systemd","forks_url":"https://api.github.com/repos/coreos/go-systemd/forks","keys_url":"https://api.github.com/repos/coreos/go-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/go-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/go-systemd/teams","hooks_url":"https://api.github.com/repos/coreos/go-systemd/hooks","issue_events_url":"https://api.github.com/repos/coreos/go-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/go-systemd/events","assignees_url":"https://api.github.com/repos/coreos/go-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/go-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/go-systemd/tags","blobs_url":"https://api.github.com/repos/coreos/go-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/go-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/go-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/go-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/go-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/go-systemd/languages","stargazers_url":"https://api.github.com/repos/coreos/go-systemd/stargazers","contributors_url":"https://api.github.com/repos/coreos/go-systemd/contributors","subscribers_url":"https://api.github.com/repos/coreos/go-systemd/subscribers","subscription_url":"https://api.github.com/repos/coreos/go-systemd/subscription","commits_url":"https://api.github.com/repos/coreos/go-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/go-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/go-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/go-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/go-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/go-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/go-systemd/merges","archive_url":"https://api.github.com/repos/coreos/go-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/go-systemd/downloads","issues_url":"https://api.github.com/repos/coreos/go-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/go-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/go-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/go-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/go-systemd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/go-systemd/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/go-systemd/deployments","created_at":"2013-09-13T23:13:51Z","updated_at":"2018-02-24T10:07:32Z","pushed_at":"2018-02-14T12:09:02Z","git_url":"git://github.com/coreos/go-systemd.git","ssh_url":"git@github.com:coreos/go-systemd.git","clone_url":"https://github.com/coreos/go-systemd.git","svn_url":"https://github.com/coreos/go-systemd","homepage":"","size":488,"stargazers_count":636,"watchers_count":636,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":136,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":136,"open_issues":19,"watchers":636,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/go-systemd/pulls/250"},"html":{"href":"https://github.com/coreos/go-systemd/pull/250"},"issue":{"href":"https://api.github.com/repos/coreos/go-systemd/issues/250"},"comments":{"href":"https://api.github.com/repos/coreos/go-systemd/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/go-systemd/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/go-systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/go-systemd/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/go-systemd/statuses/b2904e28d893c0d7572913a56f7f99fbf6f789dd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":20,"changed_files":4}}
{"actor":{"display_login":"vincentbernat"}}