{"action":"reopened","issue":{"url":"https://api.github.com/repos/elogind/elogind/issues/94","repository_url":"https://api.github.com/repos/elogind/elogind","labels_url":"https://api.github.com/repos/elogind/elogind/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/elogind/elogind/issues/94/comments","events_url":"https://api.github.com/repos/elogind/elogind/issues/94/events","html_url":"https://github.com/elogind/elogind/issues/94","id":379060408,"node_id":"MDU6SXNzdWUzNzkwNjA0MDg=","number":94,"title":"v239.1: PID file not removed when elogind is terminated","user":{"login":"Yamakuzure","id":1118655,"node_id":"MDQ6VXNlcjExMTg2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1118655?v=4","gravatar_id":"","url":"https://api.github.com/users/Yamakuzure","html_url":"https://github.com/Yamakuzure","followers_url":"https://api.github.com/users/Yamakuzure/followers","following_url":"https://api.github.com/users/Yamakuzure/following{/other_user}","gists_url":"https://api.github.com/users/Yamakuzure/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakuzure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakuzure/subscriptions","organizations_url":"https://api.github.com/users/Yamakuzure/orgs","repos_url":"https://api.github.com/users/Yamakuzure/repos","events_url":"https://api.github.com/users/Yamakuzure/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakuzure/received_events","type":"User","site_admin":false},"labels":[{"id":476872669,"node_id":"MDU6TGFiZWw0NzY4NzI2Njk=","url":"https://api.github.com/repos/elogind/elogind/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"Yamakuzure","id":1118655,"node_id":"MDQ6VXNlcjExMTg2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1118655?v=4","gravatar_id":"","url":"https://api.github.com/users/Yamakuzure","html_url":"https://github.com/Yamakuzure","followers_url":"https://api.github.com/users/Yamakuzure/followers","following_url":"https://api.github.com/users/Yamakuzure/following{/other_user}","gists_url":"https://api.github.com/users/Yamakuzure/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakuzure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakuzure/subscriptions","organizations_url":"https://api.github.com/users/Yamakuzure/orgs","repos_url":"https://api.github.com/users/Yamakuzure/repos","events_url":"https://api.github.com/users/Yamakuzure/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakuzure/received_events","type":"User","site_admin":false},"assignees":[{"login":"Yamakuzure","id":1118655,"node_id":"MDQ6VXNlcjExMTg2NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1118655?v=4","gravatar_id":"","url":"https://api.github.com/users/Yamakuzure","html_url":"https://github.com/Yamakuzure","followers_url":"https://api.github.com/users/Yamakuzure/followers","following_url":"https://api.github.com/users/Yamakuzure/following{/other_user}","gists_url":"https://api.github.com/users/Yamakuzure/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakuzure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakuzure/subscriptions","organizations_url":"https://api.github.com/users/Yamakuzure/orgs","repos_url":"https://api.github.com/users/Yamakuzure/repos","events_url":"https://api.github.com/users/Yamakuzure/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakuzure/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-11-09T08:04:41Z","updated_at":"2018-12-12T19:13:14Z","closed_at":null,"author_association":"COLLABORATOR","body":"I got an e-mail from Stefan about elogind not removing its PID file if it is shutdown using signal 15 (SIGTERM).\r\n\r\nAs /run is on tmpfs nowadays, this is of no real concern if elogind crashes on reboot or if the whole machine comes down. However, not all systems are like that and some have not put /run into RAM.\r\n\r\nOn these systems elogind fails to start on next reboot if a stale PID file exists.\r\n\r\nThere are two reasons for this:\r\n 1. The installation of the signal handlers is not correct. This is a follow-up on issue #90, which is not properly fixed by now.\r\n 2. elogind does not check whether the PID in a found PID file actually points to an elogind instance, or is stale.\r\n\r\nStefan has already provided fixes for the 1st point, which I am currently testing.\r\nThe second point will be tackled thereafter."}}
{"actor":{"display_login":"Yamakuzure"}}