Apparently the reason my computer has been taking 2 minutes to boot was a faulty network mount

  • @Molecular0079
    link
    English
    301 year ago

    Is there a way to do this for shutdown? It’d be great to debug shutdown hangs.

    • qazOP
      link
      41 year ago

      No, there currently isn’t

      And it’s not as easy to add actually. Note that systemd only keeps units loaded as long as they are referenced by something else that is loaded, are running, have failed, or have a job queued. That means if a service is terminated at shutdown there’s a very good chance it is GC’ed away pretty quickly. Now, while systemd keeps timestamping info around for services that tell us how long a service was running, took to start or took to shut down all that info is lost the instant the unit is GC’ed away…

      Source