{"action":"opened","number":2510,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/2510","id":58015780,"html_url":"https://github.com/systemd/systemd/pull/2510","diff_url":"https://github.com/systemd/systemd/pull/2510.diff","patch_url":"https://github.com/systemd/systemd/pull/2510.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/2510","number":2510,"state":"open","locked":false,"title":"journalctl: make \"journalctl /dev/sda\" work","user":{"login":"msekletar","id":719023,"avatar_url":"https://avatars.githubusercontent.com/u/719023?v=3","gravatar_id":"","url":"https://api.github.com/users/msekletar","html_url":"https://github.com/msekletar","followers_url":"https://api.github.com/users/msekletar/followers","following_url":"https://api.github.com/users/msekletar/following{/other_user}","gists_url":"https://api.github.com/users/msekletar/gists{/gist_id}","starred_url":"https://api.github.com/users/msekletar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msekletar/subscriptions","organizations_url":"https://api.github.com/users/msekletar/orgs","repos_url":"https://api.github.com/users/msekletar/repos","events_url":"https://api.github.com/users/msekletar/events{/privacy}","received_events_url":"https://api.github.com/users/msekletar/received_events","type":"User","site_admin":false},"body":"Currently when journalctl is called with path to block device node we\r\nadd following match _KERNEL_DEVICE=b$MAJOR:$MINOR.\r\n\r\nThat is not sufficient to actually obtain logs about the disk because\r\ndev_printk() kernel helper puts to /dev/kmsg information about the\r\ndevice in following format, +$SUBSYSTEM:$ADDRESS,\r\ne.g. \"+pci:pci:0000:00:14.0\".\r\n\r\nNow we will walk upward the syspath and add match for every device in\r\nformat produced by dev_printk() as well as match for its device node if\r\nit exists.","created_at":"2016-02-02T16:55:17Z","updated_at":"2016-02-02T16:55:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/2510/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/2510/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/2510/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/795ab08f783e78e85f1493879f13ac44cb113b00","head":{"label":"msekletar:journalctl-dev-sda-v4","ref":"journalctl-dev-sda-v4","sha":"795ab08f783e78e85f1493879f13ac44cb113b00","user":{"login":"msekletar","id":719023,"avatar_url":"https://avatars.githubusercontent.com/u/719023?v=3","gravatar_id":"","url":"https://api.github.com/users/msekletar","html_url":"https://github.com/msekletar","followers_url":"https://api.github.com/users/msekletar/followers","following_url":"https://api.github.com/users/msekletar/following{/other_user}","gists_url":"https://api.github.com/users/msekletar/gists{/gist_id}","starred_url":"https://api.github.com/users/msekletar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msekletar/subscriptions","organizations_url":"https://api.github.com/users/msekletar/orgs","repos_url":"https://api.github.com/users/msekletar/repos","events_url":"https://api.github.com/users/msekletar/events{/privacy}","received_events_url":"https://api.github.com/users/msekletar/received_events","type":"User","site_admin":false},"repo":{"id":35424596,"name":"systemd","full_name":"msekletar/systemd","owner":{"login":"msekletar","id":719023,"avatar_url":"https://avatars.githubusercontent.com/u/719023?v=3","gravatar_id":"","url":"https://api.github.com/users/msekletar","html_url":"https://github.com/msekletar","followers_url":"https://api.github.com/users/msekletar/followers","following_url":"https://api.github.com/users/msekletar/following{/other_user}","gists_url":"https://api.github.com/users/msekletar/gists{/gist_id}","starred_url":"https://api.github.com/users/msekletar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msekletar/subscriptions","organizations_url":"https://api.github.com/users/msekletar/orgs","repos_url":"https://api.github.com/users/msekletar/repos","events_url":"https://api.github.com/users/msekletar/events{/privacy}","received_events_url":"https://api.github.com/users/msekletar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msekletar/systemd","description":"systemd hacking","fork":true,"url":"https://api.github.com/repos/msekletar/systemd","forks_url":"https://api.github.com/repos/msekletar/systemd/forks","keys_url":"https://api.github.com/repos/msekletar/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msekletar/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msekletar/systemd/teams","hooks_url":"https://api.github.com/repos/msekletar/systemd/hooks","issue_events_url":"https://api.github.com/repos/msekletar/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/msekletar/systemd/events","assignees_url":"https://api.github.com/repos/msekletar/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/msekletar/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/msekletar/systemd/tags","blobs_url":"https://api.github.com/repos/msekletar/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msekletar/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msekletar/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/msekletar/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msekletar/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/msekletar/systemd/languages","stargazers_url":"https://api.github.com/repos/msekletar/systemd/stargazers","contributors_url":"https://api.github.com/repos/msekletar/systemd/contributors","subscribers_url":"https://api.github.com/repos/msekletar/systemd/subscribers","subscription_url":"https://api.github.com/repos/msekletar/systemd/subscription","commits_url":"https://api.github.com/repos/msekletar/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/msekletar/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/msekletar/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/msekletar/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/msekletar/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/msekletar/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msekletar/systemd/merges","archive_url":"https://api.github.com/repos/msekletar/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msekletar/systemd/downloads","issues_url":"https://api.github.com/repos/msekletar/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/msekletar/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/msekletar/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/msekletar/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msekletar/systemd/labels{/name}","releases_url":"https://api.github.com/repos/msekletar/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/msekletar/systemd/deployments","created_at":"2015-05-11T13:10:30Z","updated_at":"2016-01-22T09:18:35Z","pushed_at":"2016-02-02T15:59:12Z","git_url":"git://github.com/msekletar/systemd.git","ssh_url":"git@github.com:msekletar/systemd.git","clone_url":"https://github.com/msekletar/systemd.git","svn_url":"https://github.com/msekletar/systemd","homepage":"","size":50125,"stargazers_count":0,"watchers_count":0,"language":"C","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":"systemd:master","ref":"master","sha":"14ddf4207ffece3b0843bd1250a64c41c32ac9ae","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"systemd upstream","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2016-02-02T15:51:02Z","pushed_at":"2016-02-02T16:32:33Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":52877,"stargazers_count":844,"watchers_count":844,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":331,"mirror_url":null,"open_issues_count":310,"forks":331,"open_issues":310,"watchers":844,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2510"},"html":{"href":"https://github.com/systemd/systemd/pull/2510"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/2510"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/2510/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2510/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/2510/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/795ab08f783e78e85f1493879f13ac44cb113b00"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":98,"deletions":19,"changed_files":2}}