Live data from Hacker News

Have you restarted your computer this week?

taonaw.com

191–200 of 411 posts

Re: Have you restarted your computer this week?

#192
post #184

Earlier quoted context omitted.

If your computer has any kind of secure boot / boot chain attestation stuff going on, like all phones do now, rebooting clears out pretty much all malware. Software bugs can put the system in to a bad state which can be abused by malware, but none of it can persist through a reboot since everything is checked and measured from scratch during the boot.

> any kind of secure boot / boot chain attestation [...] rebooting clears out pretty much all malware IMHO "pretty much" understates the risk. Malware can easily install itself as a system service, timer unit, XDG autostart or your shell profile among other places. I'll be the first to admit I never check all these places regularly. The only thing that should be putting minds at ease is regular OS installs from fresh…

If you go with an immutable OS like Fedora Silverblue or Bazzite, every single update is a clean ISO install. And then in your user only install things through Flatpak while checking there aren't dangerous permissions enabled you will be much better off than a normal linux setup were mutations can be placed all over the place in a way that is impossible to audit or secure.

Re: Have you restarted your computer this week?

#194
post #22

Earlier quoted context omitted.

I think a large part is also how long it takes to restart a Mac. Every so often a coworker has to restart and I could probably restart my Linux (or even Windows) laptop 3 times before they're back on. Kind of reminds me of how slow Windows computers used to boot back in the Vista and 7 era.

Wat? The apple silicon one on my desk restarts in under 30 seconds. Markedly faster than the Windows PC next to it

I don't know what current Windows 11 does, but my typical Linux Mint is single-digit seconds, and my t490 is 7 years old already. Windows 10 is a bit slower but still single second territory. With more current hardware we are talking about 2 seconds plus whatever BIOS needs, see sibling comments. Maybe you have corporate AV on the Windows PC, or funny drivers?

Re: Have you restarted your computer this week?

#196

I shut down my desktop every night. No reason to keep it on. I can save my work, all my tabs persist, it’s fine. My main complaint is that my PC seems to have crazy clock drift? And windows just doesn’t seem to care? It doesn’t actually cause problems but I will check and see that it’s off by >5 seconds and that just shouldn’t ever happen. My phone is always accurate to <0.05s and same in Linux. Idk why windows isn’t…

> No reason to keep it on. any reason not to simply let it sleep?

Not OP, but the sleep and hibernate states on my desktop are pretty finicky and can't truly be trusted. I'd rather know everything shut down properly than risk it, especially since the thing boots in seconds anyway, and I have to input the encryption password anyway.

Re: Have you restarted your computer this week?

#197

Is it weird that we don't have a way to update the system without rebooting by this day and age? I think there are things in Linux like live kernel patching (kexec, ksplice), but why by 2026 is this sort of architecture of live system updates not a common or included feature yet? People hate updates and having to reboot and have downtime right? Security updates to core systems are more important than ever now too. So…

Not only that, my Arch laptop is not even able to continue functioning after full system update without reboot. It unloads nvidia kernel modules crashing newly opened graphical programs.

Re: Have you restarted your computer this week?

#198

I shut down my desktop every night. No reason to keep it on. I can save my work, all my tabs persist, it’s fine. My main complaint is that my PC seems to have crazy clock drift? And windows just doesn’t seem to care? It doesn’t actually cause problems but I will check and see that it’s off by >5 seconds and that just shouldn’t ever happen. My phone is always accurate to <0.05s and same in Linux. Idk why windows isn’t…

> No reason to keep it on. any reason not to simply let it sleep?

doesn't clear up your ram. One big security reason for regular reboots is that you simply get rid of any potential non-persistent crap on your machine. Also performance obviously, with a full shutdown you get back to a known, clean state.

Worth noting on Windows the restart function only does that if you hold Shift or have Fast Startup disabled.

Re: Have you restarted your computer this week?

#199

I too like running the same kernel for months on end. Just kidding, I restart periodically, especially when there's a kernel patch. To those who worship uptime, how many kmods do you have loaded? Must be nice not subscribing to openwall/NVD/CISA/cve.org

I update the kernel frequently. I reboot when I'm sufficiently annoyed by not being able to use USB devices.

Re: Have you restarted your computer this week?

#200
I've been keeping my desktop machines running 24/7 for ~25 years. I only reboot when necessary.

I remember having around 280 days of uptime on Windows 7 when it went end of life. Having a UPS helps a lot to protect against short power outages or blips.

Nowadays I run Arch Linux, it's been 12 days since a reboot. Not trying to break records, I reboot to apply kernel updates when it's convenient. Since I use tmux and have terminal heavy workflows it takes 1 command and a few seconds to resurrect all of my sessions to get back to where I was at before.

Post reply on HN