778
submitted 1 year ago* (last edited 1 year ago) by qaz@lemmy.world to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] Molecular0079@lemmy.world 30 points 1 year ago

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

[-] qaz@lemmy.world 4 points 1 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

this post was submitted on 07 Oct 2023
778 points (98.0% liked)

Linux

48335 readers
1301 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS