Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
Haven’t needed it to, I guess even after kernel updates you can log off and log back on to set the changes.
Sorry, but to clarify no. When your kernel updates if you just log out and log back in you will still keep the same kernel version because linux keeps running a program on same version until you completely turn the program off.
That's why with the kernel and kernel modules you need to completely restart your system for the kernel to shutdown and use the updated version, it's just the way that linux works.
Hell you can even use a program after uninstalling it until you close it for a year if you wanted to ( once untistalled my termninal emulator, but still had it's window opened so just reinstalled it an hour later after realising I can't spawn a new terminal window )
There is live (kernel) patching which circumvents the need for a restart. But that is meant for servers were you cannot afford the downtime and will only work for a while. Sooner or later you will have to restart to get the latest patches.
Correct me if I’m wrong: sudo user and kernel updates can take effect¿
Not sure what you're trying to ask, are you asking if using sudo to sign in as a different user will make kernel updates take effect? If so, the answer is no.
Linux is an operating system kernel, which basically means it's a program which runs other programs inside of it. For any "normal" program running inside Linux, you can update it by installing the new version and then exiting and relaunching the program so that the installed updates take effect. Similarly, after installing the Linux kernel itself, you have to exit and restart the kernel in order for the update to take effect. Because the kernel runs programs inside of it, exiting the kernel means all of those programs will be exited as well, and because the kernel is the only program running directly on the hardware, exiting the kernel means that your computer will power off. In simpler terms: getting kernel updates to take effect necessarily means you need to exit the old kernel and launch the new one, and there is no way to do that without reboot.