{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1808","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1808/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1808/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1808/events","html_url":"https://github.com/cockpit-project/cockpit/pull/1808","id":57437322,"number":1808,"title":"session: No tty for pam, but session class and type.","user":{"login":"mvollmer","id":3228183,"avatar_url":"https://avatars.githubusercontent.com/u/3228183?v=3","gravatar_id":"","url":"https://api.github.com/users/mvollmer","html_url":"https://github.com/mvollmer","followers_url":"https://api.github.com/users/mvollmer/followers","following_url":"https://api.github.com/users/mvollmer/following{/other_user}","gists_url":"https://api.github.com/users/mvollmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mvollmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvollmer/subscriptions","organizations_url":"https://api.github.com/users/mvollmer/orgs","repos_url":"https://api.github.com/users/mvollmer/repos","events_url":"https://api.github.com/users/mvollmer/events{/privacy}","received_events_url":"https://api.github.com/users/mvollmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/needswork","name":"needswork","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-12T09:41:08Z","updated_at":"2015-02-12T11:37:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/1808","html_url":"https://github.com/cockpit-project/cockpit/pull/1808","diff_url":"https://github.com/cockpit-project/cockpit/pull/1808.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/1808.patch"},"body":"Systemd-logind expects a real tty and we should set the session class\r\nand type explicitly.\r\n\r\nhttps://bugs.freedesktop.org/show_bug.cgi?id=89024#c1\r\n"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/74057432","html_url":"https://github.com/cockpit-project/cockpit/pull/1808#issuecomment-74057432","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/1808","id":74057432,"user":{"login":"mvollmer","id":3228183,"avatar_url":"https://avatars.githubusercontent.com/u/3228183?v=3","gravatar_id":"","url":"https://api.github.com/users/mvollmer","html_url":"https://github.com/mvollmer","followers_url":"https://api.github.com/users/mvollmer/followers","following_url":"https://api.github.com/users/mvollmer/following{/other_user}","gists_url":"https://api.github.com/users/mvollmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mvollmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvollmer/subscriptions","organizations_url":"https://api.github.com/users/mvollmer/orgs","repos_url":"https://api.github.com/users/mvollmer/repos","events_url":"https://api.github.com/users/mvollmer/events{/privacy}","received_events_url":"https://api.github.com/users/mvollmer/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T11:37:25Z","updated_at":"2015-02-12T11:37:25Z","body":"> Setting the session type in the pam config file is probably best then.\r\n\r\nOn Fedora at least, our invocation of pam_systemd is in the password-auth snippet, which is included into pam.d/cockpit..."}}