{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/557","repository_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins","labels_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/557/comments","events_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/557/events","html_url":"https://github.com/jenkinsci/puppet-jenkins/issues/557","id":147598629,"number":557,"title":"jenkins-slave don't stop correctly","user":{"login":"xdexter","id":10849509,"avatar_url":"https://avatars.githubusercontent.com/u/10849509?v=3","gravatar_id":"","url":"https://api.github.com/users/xdexter","html_url":"https://github.com/xdexter","followers_url":"https://api.github.com/users/xdexter/followers","following_url":"https://api.github.com/users/xdexter/following{/other_user}","gists_url":"https://api.github.com/users/xdexter/gists{/gist_id}","starred_url":"https://api.github.com/users/xdexter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdexter/subscriptions","organizations_url":"https://api.github.com/users/xdexter/orgs","repos_url":"https://api.github.com/users/xdexter/repos","events_url":"https://api.github.com/users/xdexter/events{/privacy}","received_events_url":"https://api.github.com/users/xdexter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/labels/feedback-needed","name":"feedback-needed","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T00:42:29Z","updated_at":"2016-04-12T16:40:23Z","closed_at":null,"body":"Hello,\r\n\r\nI'm using Centos 6.7 and noticed a problem during the process of shutdown, now when the node slave is shut down due to the LOCK path the operating system does not effect the stop correctly, this creates a problem in Jenkins Master where the node slave is not removed.\r\n\r\nTo correct simply change the file \"jenkins-slave.RedHat\":\r\n- LOCK_FILE = /var/lock/$NAME\r\n+ LOCK_FILE = /var/lock/subsys/$NAME\r\n\r\nYou can this fix be analyzed?"},"comment":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/comments/208999095","html_url":"https://github.com/jenkinsci/puppet-jenkins/issues/557#issuecomment-208999095","issue_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/557","id":208999095,"user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T16:40:22Z","updated_at":"2016-04-12T16:40:22Z","body":"@xdexter I believe I understand now -- the init script does stop the slave properly but the sysvinit system on centos 6 is not waiting for the service shutdown because the lock file is not in the expected place."}}