{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/baseimage-docker/issues/408","repository_url":"https://api.github.com/repos/phusion/baseimage-docker","labels_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/408/comments","events_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/408/events","html_url":"https://github.com/phusion/baseimage-docker/issues/408","id":227796753,"number":408,"title":"shutdown_runit_services error on exiting interactive container","user":{"login":"multidis","id":5619104,"avatar_url":"https://avatars1.githubusercontent.com/u/5619104?v=3","gravatar_id":"","url":"https://api.github.com/users/multidis","html_url":"https://github.com/multidis","followers_url":"https://api.github.com/users/multidis/followers","following_url":"https://api.github.com/users/multidis/following{/other_user}","gists_url":"https://api.github.com/users/multidis/gists{/gist_id}","starred_url":"https://api.github.com/users/multidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multidis/subscriptions","organizations_url":"https://api.github.com/users/multidis/orgs","repos_url":"https://api.github.com/users/multidis/repos","events_url":"https://api.github.com/users/multidis/events{/privacy}","received_events_url":"https://api.github.com/users/multidis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-10T20:12:44Z","updated_at":"2017-05-10T22:11:16Z","closed_at":"2017-05-10T22:11:16Z","body":"Dockerfile:\r\n\r\n    FROM phusion/baseimage:0.9.21\r\n    CMD [\"/sbin/my_init\"]\r\n    EXPOSE 8080\r\n\r\nBuild and run interactively:\r\n\r\n    docker build -t baseimg:latest --rm .\r\n    docker run --rm -t -i baseimg:latest /sbin/my_init -- bash -l\r\n\r\nOn `exit`, the following exception trace is returned:\r\n\r\n> logout\r\n*** bash exited with status 0.\r\n*** Killing all processes...\r\nTraceback (most recent call last):\r\n  File \"/sbin/my_init\", line 314, in main\r\n    sys.exit(exit_status)\r\nSystemExit: 0\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/sbin/my_init\", line 353, in <module>\r\n    main(args)\r\n  File \"/sbin/my_init\", line 317, in main\r\n    shutdown_runit_services()\r\n  File \"/sbin/my_init\", line 250, in shutdown_runit_services\r\n    os.system(\"/usr/bin/sv -w %d down /etc/service/*\", KILL_PROCESS_TIMEOUT)\r\nTypeError: system() takes at most 1 argument (2 given)\r\n"},"comment":{"url":"https://api.github.com/repos/phusion/baseimage-docker/issues/comments/300627676","html_url":"https://github.com/phusion/baseimage-docker/issues/408#issuecomment-300627676","issue_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/408","id":300627676,"user":{"login":"Theaxiom","id":57013,"avatar_url":"https://avatars2.githubusercontent.com/u/57013?v=3","gravatar_id":"","url":"https://api.github.com/users/Theaxiom","html_url":"https://github.com/Theaxiom","followers_url":"https://api.github.com/users/Theaxiom/followers","following_url":"https://api.github.com/users/Theaxiom/following{/other_user}","gists_url":"https://api.github.com/users/Theaxiom/gists{/gist_id}","starred_url":"https://api.github.com/users/Theaxiom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theaxiom/subscriptions","organizations_url":"https://api.github.com/users/Theaxiom/orgs","repos_url":"https://api.github.com/users/Theaxiom/repos","events_url":"https://api.github.com/users/Theaxiom/events{/privacy}","received_events_url":"https://api.github.com/users/Theaxiom/received_events","type":"User","site_admin":false},"created_at":"2017-05-10T22:11:16Z","updated_at":"2017-05-10T22:11:16Z","body":"This is a duplicate which will be fixed in the next release. I will work on getting a new release out this week."}}
{"actor":{"display_login":"Theaxiom"}}