this post was submitted on 13 Sep 2023
61 points (83.5% liked)

Linux

48035 readers
726 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
 

Even back in the Windows 3.1 or 95 days I didn't have to reboot this often - sometimes twice a day. Seems a bit excessive?

all 44 comments
sorted by: hot top controversial new old
[–] [email protected] 81 points 1 year ago (2 children)

Like the other comment mentioned, you don't need to reboot, unless you've updated the kernel.

If you somehow downloaded by mistake an immutable system, like Fedora Silverblue or Fedora Kinoite, know it's not the classic way to manage Linux systems.

[–] [email protected] 39 points 1 year ago

But even with an immutable distro you don't have to reboot. The updated image just gets downloaded in the background and booted into when you restart. There is no harm in still being booted from the old image id you don't specifically need anything only included in the new one. Nothing forces you to reboot.

[–] [email protected] 14 points 1 year ago

Silverblue is my daily driver. Everything is in flatpaks, which update automatically, or in distrobox which I have a bash script that updates automatically.

System updates download in the background and just boot automatically the next time you boot up. I just ignore them.

[–] [email protected] 51 points 1 year ago (1 children)

you should only need to reboot when updating the kernel. Why are you rebooting? Is it because the system is unresponsive?

[–] [email protected] 26 points 1 year ago (4 children)

I'm using the KDE version and updates come in automatically through Discover. They almost always announce in the system tray that a reboot is required.

[–] [email protected] 62 points 1 year ago (2 children)

You also don't have to reboot when Discover says to. It's just saying that the updates won't take effect until you reboot. It could probably be worded better, for sure.

[–] [email protected] 7 points 1 year ago (1 children)

I think that installing new versions often means that particular services need to be restarted. Rather than implement logic to restart relevant services, it probably just says "fuck it, reboot".

[–] [email protected] 12 points 1 year ago

Eh, no. It only downloads the packages, then asks you to reboot and installs the new packages during the boot process. This means you get a clean system afterward in which no pre-update binaries are being run anymore. It just comes at the price that you need a full reboot for something that usually needs a session relogin at worst.

[–] [email protected] 1 points 1 year ago (2 children)

On the other hand you rather have to put a gun to the average GUI user's head to get them to reboot ever, otherwise the computer will sit there for months on end until finally they shut it down once and it can finally apply updates.

[–] [email protected] 15 points 1 year ago (1 children)

Honestly that little reboot icon in the sys tray is sort of like a loaded gun pointed at me

[–] [email protected] 2 points 1 year ago (1 children)

This is exactly my issue, Just as I can't deal with unread notifications, I can't live with a pending update icon just sitting there.

[–] [email protected] 12 points 1 year ago (1 children)

Right click the up arrow > configure icons tray > second tab > reboot notification > disabled.

[–] [email protected] 2 points 1 year ago

So you don't want to hear about the arch box I leave hot and live for two months at a time?

[–] [email protected] 13 points 1 year ago (1 children)

sigh... i hate to say it but do your updates via command line because it will actually tell you if you need a reboot. As said above, it should only be for Kernel updates, and even then it will tell you that it will switch kernels next reboot and keep running on the current one.

Most desktop applications for doing updates ask you to reboot not because its needed, but because they are being "safe" or not running with the same user rights as you are in the terminal.

[–] [email protected] 4 points 1 year ago (4 children)

Why does no other distro do that though? I've tried a bunch before and this is the first time I get that notification sitting there taunting me.

[–] [email protected] 3 points 1 year ago

Hrm. Skim ahead if you already know some of this... So say you have a running program XYZ that loads libUseful.so to do useful things. Now you run some updates and libUseful.so gets replaced with the new version. Because of how files on Unix work, the old version still exists on the disk until XYZ closes it, but any new program will load the new version. So things generally "just work" when the system is updated in place, but on the rare occasion causes weird problems. Fedora (from the GUI) chooses to run updates during reboot to prevent the rare, weird problems. If you update from the command line, it just does them in place. Kernel updates always require a reboot to apply though.

[–] [email protected] 1 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]

[–] [email protected] 1 points 1 year ago

After applying an update you need to make sure anything using the unmatched code is replaced by the patched code. A reliable way to do that is a reboot. Actually a reboot is pretty much the only reliable way to do that.

So I am not surprised that a distribution targeting end users asks for a reboot.

[–] [email protected] 1 points 1 year ago

It has been a while since I have used Fedora but this is not unique to that distro. Arch will also tell you to reboot if the kernel, systemd, and a few other packages are updated. I rarely do it right away though.

[–] [email protected] 2 points 1 year ago

Do you have offline updates enabled in the Discover settings by any chance?

[–] [email protected] 29 points 1 year ago* (last edited 1 year ago)

If you're using KDE, you can go to System Settings > Software Updates and

  1. Set the notification frequency to weekly or monthly to reduce the number of update notifications.
  2. Disable offline updates. This will install updates while you're using the system and you can choose to reboot when/if you want.

Opening Discover will check for updates and, if updates are found, show the tray notification regardless of your notification frequency and when you last updated.

Fedora does roll out updates pretty much daily, which can be annoying, but you can choose what and when to update.

[–] [email protected] 20 points 1 year ago

Dude just change discover's update mechanism in the settings. Discover usually reboots to install updates so that nothing goes wrong. You can change it though, so that updates are applied instantly. That way you'll only need to reboot for kernel updates.

[–] [email protected] 11 points 1 year ago

Can you provide more details on why you were forced to reboot so regularly?

[–] [email protected] 10 points 1 year ago

So after reading the comments it's not that you need to reboot. It's your need to process notifications.

[–] [email protected] 5 points 1 year ago

I'm on OpenSUSE and I only reboot once a week if really needed

[–] [email protected] 3 points 1 year ago (1 children)

Fedora is nicest when you use a lot of flatpaks imo. They just update constantly in the background without reboot.

Only system updates need reboot.

[–] [email protected] 3 points 1 year ago (1 children)

Even better: Silverblue! (I use uBlue)

Everything gets updated in the background without even needing intervention, not even a "you need to click here to download and reboot to apply changes"-notification.

I shut down my PC every few days when I leave the house for longer and boot into the next base-image without even noticing.

And if I do because something doesn't work, I just select the image from yesterday.

Oh yeah, and 99% of my apps are Flatpaks anyway, which auto-update too by default.

I just don't notice my OS in any way, I just work with it. Lovely!

[–] [email protected] 3 points 1 year ago

I agree, I actually use Silverblue as well. The only thing I added was a script to auto update distrobox too.

[–] [email protected] -1 points 1 year ago

Using MX Linux, I reboot only after kernel upgrade

[–] [email protected] -1 points 1 year ago (1 children)

Yeah, seems definetly excessive. I don't know fedora good enough to tell you what you're doing wrong though, sorry

[–] [email protected] -3 points 1 year ago (1 children)

Yeah, this is one of the reasons I don't like Fedora. The other reason is because they are owned by Redhat/IBM who are best buddies with the NSA.

I prefer Ubuntu or Debian based distros as well as opensuse. I'm using Linux Mint because it's developed by independent Devs and is Ubuntu based but with all the Snaps stuff stripped out.

It's ideal. Fast, beautiful, reliable, stable yet can do everything Ubuntu can and has all the latest security patches and Ubuntu improvements.

They also have a Debian based version if you want to be Debian based but run Cinnamon.

I've been using Linux for years and IMO it's the best distribution overall.

But opensuse is also great, and fully independent. And super reliable. They have 2 variants:

Leap: this is their long term version which only gets a total upgrade every 2 years. It does get security updates and fixes but the main upgrade is every 2 years. Super stable.

Tumbleweed: this is the rolling release which gets updated with all the latest packages, fixes, security etc daily.

Also super stable unless you have a proprietary WiFi card from Broadcom. If you do, WiFi will break often because the guy who makes the WiFi driver has to update the driver after opensuse updates Tumbleweed. He normally needs about 2 days to fix it but if you don't have ethernet, you'll have to tether your phone to your pc to use the internet and download the fix. Can be a pain.

There are tons of Ubuntu based distros around so try a few on a live usb. Go to Distrowatch.com for a comprehensive list of all distros. Use the filters to find what you want.

[–] [email protected] 5 points 1 year ago (1 children)

@danielfgom @cygnus fedora is as independent of red hat as Linux mint is independent of canonical. At least as far as I know

[–] [email protected] -3 points 1 year ago (1 children)

Allegedly but most of the Devs are full time Redhat employees.....so you know.

[–] [email protected] 0 points 1 year ago (1 children)

@danielfgom ah I see well either way even if fedora put a backdoor in it wouldnt exactly be a secret. maybe a compromised iso from their main website but people would quickly raise the alarm over the hashes

[–] [email protected] 1 points 1 year ago

The only back door that could exist is SELinux, the NSA created security suite.

But even if there is no backdoor, the fact that the government agencies are Red hat's biggest clients is very worrying.