{"action":"closed","number":1470,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/1470","id":76782490,"html_url":"https://github.com/influxdata/telegraf/pull/1470","diff_url":"https://github.com/influxdata/telegraf/pull/1470.diff","patch_url":"https://github.com/influxdata/telegraf/pull/1470.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1470","number":1470,"state":"closed","locked":false,"title":"Remove systemd Install alias","user":{"login":"PierreF","id":359833,"avatar_url":"https://avatars.githubusercontent.com/u/359833?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreF","html_url":"https://github.com/PierreF","followers_url":"https://api.github.com/users/PierreF/followers","following_url":"https://api.github.com/users/PierreF/following{/other_user}","gists_url":"https://api.github.com/users/PierreF/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreF/subscriptions","organizations_url":"https://api.github.com/users/PierreF/orgs","repos_url":"https://api.github.com/users/PierreF/repos","events_url":"https://api.github.com/users/PierreF/events{/privacy}","received_events_url":"https://api.github.com/users/PierreF/received_events","type":"User","site_admin":false},"body":"### Required for all PRs:\r\n\r\n- [ ] CHANGELOG.md updated\r\n- [x] Sign [CLA](https://influxdata.com/community/cla/) (if not already signed)\r\n\r\nWith current telegraf, when updating package we got the following error (at least on Debian/Ubuntu):\r\n```\r\nSetting up telegraf (1.0.0~beta2) ...\r\nFailed to execute operation: Too many levels of symbolic links\r\n```\r\n\r\nIt is caused by systemctl enable telegraf:\r\n```\r\n# systemctl enable telegraf\r\nFailed to execute operation: Too many levels of symbolic links\r\n```\r\n\r\nIt seems to be due to Alias in Install section of telegraf.service. From my understanding of manpage systemd.unit, alias should only contains *additional* name.\r\n\r\nRemoving the alias (and the symlink /etc/systemd/system/telegraf.service created) fix this issue, after this PR systemctl enable telegraf show no warning. Obviously telegraf is still started on boot & could be controlled with systemctl {start|stop|status} telegraf\r\n","created_at":"2016-07-08T16:55:42Z","updated_at":"2016-07-14T21:53:05Z","closed_at":"2016-07-14T21:53:05Z","merged_at":"2016-07-14T21:53:05Z","merge_commit_sha":"207c5498e718af25768f5de0655cb786c45e9fc0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/1470/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/1470/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1470/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/ed0f1dff49510a7557c980df35424814a3f49ded","head":{"label":"PierreF:systemd-symlink-error","ref":"systemd-symlink-error","sha":"ed0f1dff49510a7557c980df35424814a3f49ded","user":{"login":"PierreF","id":359833,"avatar_url":"https://avatars.githubusercontent.com/u/359833?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreF","html_url":"https://github.com/PierreF","followers_url":"https://api.github.com/users/PierreF/followers","following_url":"https://api.github.com/users/PierreF/following{/other_user}","gists_url":"https://api.github.com/users/PierreF/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreF/subscriptions","organizations_url":"https://api.github.com/users/PierreF/orgs","repos_url":"https://api.github.com/users/PierreF/repos","events_url":"https://api.github.com/users/PierreF/events{/privacy}","received_events_url":"https://api.github.com/users/PierreF/received_events","type":"User","site_admin":false},"repo":{"id":52291130,"name":"telegraf","full_name":"PierreF/telegraf","owner":{"login":"PierreF","id":359833,"avatar_url":"https://avatars.githubusercontent.com/u/359833?v=3","gravatar_id":"","url":"https://api.github.com/users/PierreF","html_url":"https://github.com/PierreF","followers_url":"https://api.github.com/users/PierreF/followers","following_url":"https://api.github.com/users/PierreF/following{/other_user}","gists_url":"https://api.github.com/users/PierreF/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreF/subscriptions","organizations_url":"https://api.github.com/users/PierreF/orgs","repos_url":"https://api.github.com/users/PierreF/repos","events_url":"https://api.github.com/users/PierreF/events{/privacy}","received_events_url":"https://api.github.com/users/PierreF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PierreF/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/PierreF/telegraf","forks_url":"https://api.github.com/repos/PierreF/telegraf/forks","keys_url":"https://api.github.com/repos/PierreF/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PierreF/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PierreF/telegraf/teams","hooks_url":"https://api.github.com/repos/PierreF/telegraf/hooks","issue_events_url":"https://api.github.com/repos/PierreF/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/PierreF/telegraf/events","assignees_url":"https://api.github.com/repos/PierreF/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/PierreF/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/PierreF/telegraf/tags","blobs_url":"https://api.github.com/repos/PierreF/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PierreF/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PierreF/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/PierreF/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PierreF/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/PierreF/telegraf/languages","stargazers_url":"https://api.github.com/repos/PierreF/telegraf/stargazers","contributors_url":"https://api.github.com/repos/PierreF/telegraf/contributors","subscribers_url":"https://api.github.com/repos/PierreF/telegraf/subscribers","subscription_url":"https://api.github.com/repos/PierreF/telegraf/subscription","commits_url":"https://api.github.com/repos/PierreF/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/PierreF/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/PierreF/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/PierreF/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/PierreF/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/PierreF/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PierreF/telegraf/merges","archive_url":"https://api.github.com/repos/PierreF/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PierreF/telegraf/downloads","issues_url":"https://api.github.com/repos/PierreF/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/PierreF/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/PierreF/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/PierreF/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PierreF/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/PierreF/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/PierreF/telegraf/deployments","created_at":"2016-02-22T17:24:10Z","updated_at":"2016-02-22T17:24:11Z","pushed_at":"2016-07-08T16:48:46Z","git_url":"git://github.com/PierreF/telegraf.git","ssh_url":"git@github.com:PierreF/telegraf.git","clone_url":"https://github.com/PierreF/telegraf.git","svn_url":"https://github.com/PierreF/telegraf","homepage":"","size":11134,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"influxdata:master","ref":"master","sha":"c046232425af3cb6b243f20d4c0c634fab971b88","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":33258973,"name":"telegraf","full_name":"influxdata/telegraf","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":false,"url":"https://api.github.com/repos/influxdata/telegraf","forks_url":"https://api.github.com/repos/influxdata/telegraf/forks","keys_url":"https://api.github.com/repos/influxdata/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/telegraf/teams","hooks_url":"https://api.github.com/repos/influxdata/telegraf/hooks","issue_events_url":"https://api.github.com/repos/influxdata/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/telegraf/events","assignees_url":"https://api.github.com/repos/influxdata/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/telegraf/tags","blobs_url":"https://api.github.com/repos/influxdata/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/telegraf/languages","stargazers_url":"https://api.github.com/repos/influxdata/telegraf/stargazers","contributors_url":"https://api.github.com/repos/influxdata/telegraf/contributors","subscribers_url":"https://api.github.com/repos/influxdata/telegraf/subscribers","subscription_url":"https://api.github.com/repos/influxdata/telegraf/subscription","commits_url":"https://api.github.com/repos/influxdata/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/telegraf/merges","archive_url":"https://api.github.com/repos/influxdata/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/telegraf/downloads","issues_url":"https://api.github.com/repos/influxdata/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/telegraf/deployments","created_at":"2015-04-01T16:28:44Z","updated_at":"2016-07-14T15:30:56Z","pushed_at":"2016-07-14T21:53:06Z","git_url":"git://github.com/influxdata/telegraf.git","ssh_url":"git@github.com:influxdata/telegraf.git","clone_url":"https://github.com/influxdata/telegraf.git","svn_url":"https://github.com/influxdata/telegraf","homepage":"","size":25506,"stargazers_count":1540,"watchers_count":1540,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":498,"mirror_url":null,"open_issues_count":178,"forks":498,"open_issues":178,"watchers":1540,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1470"},"html":{"href":"https://github.com/influxdata/telegraf/pull/1470"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/1470"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/1470/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1470/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1470/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/ed0f1dff49510a7557c980df35424814a3f49ded"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"sparrc"}}