{"action":"opened","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3572","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3572/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3572/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/3572/events","html_url":"https://github.com/home-assistant/home-assistant/issues/3572","id":179965495,"number":3572,"title":"0.29.1 systemd can't shut down hass/ignoring sigterm","user":{"login":"marcik4","id":22435957,"avatar_url":"https://avatars.githubusercontent.com/u/22435957?v=3","gravatar_id":"","url":"https://api.github.com/users/marcik4","html_url":"https://github.com/marcik4","followers_url":"https://api.github.com/users/marcik4/followers","following_url":"https://api.github.com/users/marcik4/following{/other_user}","gists_url":"https://api.github.com/users/marcik4/gists{/gist_id}","starred_url":"https://api.github.com/users/marcik4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcik4/subscriptions","organizations_url":"https://api.github.com/users/marcik4/orgs","repos_url":"https://api.github.com/users/marcik4/repos","events_url":"https://api.github.com/users/marcik4/events{/privacy}","received_events_url":"https://api.github.com/users/marcik4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-29T06:45:06Z","updated_at":"2016-09-29T06:45:06Z","closed_at":null,"body":"**Home Assistant release (`hass --version`):**\r\n0.29.1\r\n\r\n**Python release (`python3 --version`):**\r\n\r\n\r\n**Component/platform:**\r\nUbuntu\r\n\r\n**Description of problem:**\r\nWorked correctly with 0.28. After upgrade to 0.29.1 systemd is no longer able to shut it down - it looks that sigterm gets ignored/stuck.  Need to kill -9 it.\r\n\r\n**Expected:**\r\nShutdown of hass\r\n\r\n**Problem-relevant `/etc/systemd/system/home-assistant@hass.service` entries and steps to reproduce:**\r\n\r\n\r\n```bash\r\n# This is a simple service file for systems with systemd to tun HA as user.\r\n#\r\n# For details please check https://home-assistant.io/getting-started/autostart/\r\n#\r\n[Unit]\r\nDescription=Home Assistant for %i\r\nWants=network-online.target\r\nAfter=network-online.target\r\n\r\n[Service]\r\nType=simple\r\nUser=%i\r\n# Enable the following line if you get network-related HA errors during boot\r\n#ExecStartPre=/bin/sleep 30\r\n# Use `whereis hass` to determine the path of hass\r\nExecStart=/srv/hass/bin/hass --runner\r\nSendSIGKILL=no\r\nRestartForceExitStatus=100\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```\r\n\r\n\r\n1. sudo systemctl restart home-assistant@hass\r\n2. tail logs with journalctl -f -u home-assistant@hass\r\n```bash\r\nSep 28 23:35:55 thinkbox systemd[1]: Stopping Home Assistant for hass...\r\n[...]\r\nSep 28 23:36:00 thinkbox hass[7647]: INFO:homeassistant.components.device_tracker.asuswrt:Checking ARP\r\nSep 28 23:36:00 thinkbox hass[7647]: INFO:somecomfort:Session refreshed\r\n[...]\r\nLogs as usual in normal operation\r\n[...]\r\nSep 28 23:37:25 thinkbox systemd[1]: home-assistant@hass.service: State 'stop-sigterm' timed out. Skipping SIGKILL.\r\n[...]\r\nLogs continue and hass keep on working\r\n\r\n```\r\n\r\n**Additional info:**\r\n\r\n"}}
{"actor":{"display_login":"marcik4"}}