[JIRA] (JENKINS-56219) Jenkins System.exit() leaves systemd in an incorrect state
Title: Message Title Baptiste Mathus commented on JENKINS-56219 Re: Jenkins System.exit() leaves systemd in an incorrect state I do not feel like this should really be fixed. Jenkins.instance.doExit(null,null); would do the same but make sure to call the right hooks if really one wants to use the script console. But I would strongly discourage using it for this. In general the script console is a very sharp tool, and people should not expect that using it will always behave always the expected user way. Anything can be done or bypassed using this. On the other hand: I would definitely consider this a bug if sending a CTRL-C (or a signal using kill) would not correctly call the cleanups. Because using this way *is* the end user way. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56219) Jenkins System.exit() leaves systemd in an incorrect state
Title: Message Title Oleg Nenashev assigned an issue to Unassigned Jenkins / JENKINS-56219 Jenkins System.exit() leaves systemd in an incorrect state Change By: Oleg Nenashev Assignee: Kohsuke Kawaguchi Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56219) Jenkins System.exit() leaves systemd in an incorrect state
Title: Message Title Steven Deal created an issue Jenkins / JENKINS-56219 Jenkins System.exit() leaves systemd in an incorrect state Issue Type: Improvement Assignee: Kohsuke Kawaguchi Components: packaging Created: 2019-02-20 16:24 Environment: Ubuntu Priority: Minor Reporter: Steven Deal Using Ubuntu Bionic (latest LTS), if you kill the Jenkins process such as via the script console (System.exit(0)), Jenkins shuts down, pidfile is removed. However, systemd still believes the process is running and a start command becomes a no-op. Add Comment