{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/baseimage-docker/issues/216","repository_url":"https://api.github.com/repos/phusion/baseimage-docker","labels_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/216/comments","events_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/216/events","html_url":"https://github.com/phusion/baseimage-docker/issues/216","id":73916673,"number":216,"title":"invoke-rc.d <service> stop fails","user":{"login":"osr-admin","id":12293022,"avatar_url":"https://avatars0.githubusercontent.com/u/12293022?v=4","gravatar_id":"","url":"https://api.github.com/users/osr-admin","html_url":"https://github.com/osr-admin","followers_url":"https://api.github.com/users/osr-admin/followers","following_url":"https://api.github.com/users/osr-admin/following{/other_user}","gists_url":"https://api.github.com/users/osr-admin/gists{/gist_id}","starred_url":"https://api.github.com/users/osr-admin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osr-admin/subscriptions","organizations_url":"https://api.github.com/users/osr-admin/orgs","repos_url":"https://api.github.com/users/osr-admin/repos","events_url":"https://api.github.com/users/osr-admin/events{/privacy}","received_events_url":"https://api.github.com/users/osr-admin/received_events","type":"User","site_admin":false},"labels":[{"id":65451754,"url":"https://api.github.com/repos/phusion/baseimage-docker/labels/bug","name":"bug","color":"fc2929","default":true},{"id":565464135,"url":"https://api.github.com/repos/phusion/baseimage-docker/labels/research","name":"research","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"Theaxiom","id":57013,"avatar_url":"https://avatars1.githubusercontent.com/u/57013?v=4","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},"assignees":[{"login":"Theaxiom","id":57013,"avatar_url":"https://avatars1.githubusercontent.com/u/57013?v=4","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}],"milestone":null,"comments":7,"created_at":"2015-05-07T09:32:20Z","updated_at":"2018-05-08T08:36:16Z","closed_at":"2018-02-17T01:15:33Z","author_association":"NONE","body":"Some ubuntu packages (such as nginx and cups) include a logrotate configuration file in /etc/logrotate.d. In order to rotate logs, i.e. to change the file a daemon writes to, it is restarted, in this case by invoke-rc.d --quiet <service> stops. In Phusion-base, this fails (if one omits --quiet, then invoke-rc.d responds with \"policy-rc.d denied execution of stop\").\n\nUnfortunately this leaves us with the situation that logrotate is unable to restart a service, and although the log files are still rotated, the daemon writes future logs into /dev/null.\n\nPhusion-base users, if aware of the issue, could modify every daemon's logrotate configuration file to invoke runit instead of invoke-rc.d, but perhaps something could be done in phusion-base instead?\n"},"comment":{"url":"https://api.github.com/repos/phusion/baseimage-docker/issues/comments/387328062","html_url":"https://github.com/phusion/baseimage-docker/issues/216#issuecomment-387328062","issue_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/216","id":387328062,"user":{"login":"twobombs","id":12692227,"avatar_url":"https://avatars1.githubusercontent.com/u/12692227?v=4","gravatar_id":"","url":"https://api.github.com/users/twobombs","html_url":"https://github.com/twobombs","followers_url":"https://api.github.com/users/twobombs/followers","following_url":"https://api.github.com/users/twobombs/following{/other_user}","gists_url":"https://api.github.com/users/twobombs/gists{/gist_id}","starred_url":"https://api.github.com/users/twobombs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twobombs/subscriptions","organizations_url":"https://api.github.com/users/twobombs/orgs","repos_url":"https://api.github.com/users/twobombs/repos","events_url":"https://api.github.com/users/twobombs/events{/privacy}","received_events_url":"https://api.github.com/users/twobombs/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T08:36:16Z","updated_at":"2018-05-08T08:36:16Z","author_association":"NONE","body":"On a late note: stopping the (mysql)service before the upgrade fixes this behavour; the script checks if the service is down, if it's down before starting the upgrade this issue is rendered moot at that time.\r\n"}}
{"actor":{"display_login":"twobombs"}}