<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 27, 2017 at 10:33 PM, Benno Fünfstück <span dir="ltr"><<a href="mailto:benno.fuenfstueck@gmail.com" target="_blank">benno.fuenfstueck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>when shutting down my system, I sometimes get a "Stopping ..." from systemd, where it waits 90 seconds before it kills the affected session / unit / scope / ... . Is there any way to debug this live, without enabling persistent journal and hoping that the journal has enough information?</div><div><br></div><div>Ideal would be a way to "interrupt" shutdown in this case and be able to correct the mistake / fix the error.</div></div></blockquote><div><br></div>Start debug-shell.service (or boot with "systemd.debug-shell"). During shutdown, switch to tty9 and use `systemctl list-jobs`, then `systemctl cancel` to flush all pending jobs.<div></div></div><div><br></div>-- <br><div class="gmail-m_4597978469964374223gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>