this post was submitted on 01 Jun 2023
4 points (100.0% liked)

Arch Linux

7175 readers
3 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

I am using Archlinux as a server for my infrastructure. Does anyone have experience with ignoring kernel upgrades on Archlinux for a while? If so, how do you decide on what kernel release you are staying? If you upgrade the kernel, have you found a way to circumvent having to restart the machine?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

partial upgrades aren't supported I believe, but i believe if you really wanted you could add the following line to your /etc/pacman.conf:

IgnorePkg = linux

myself, I just depending on the server i'm upgrading, i just don't update as frequently and reboot the machine if needed (i don't think there's any getting around that).

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

Agreed, maybe just establish a maintenance cycle that works for you and only update then. Otherwise you might use arch-audit to check for security issues in your packages and only upgrade when a package you have has a known vulnerability.

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

I have come up with the idea to just setup two hypervisors under arch, virtualizing all services and using keepalived under arch to fail over the hypervisors. With that, one can take down one server for upgrades, without having "downtime" of the services. However, I don't know how to achieve that yet :)

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

Look into HAProxy. It will load balance traffic between servers based on your preference, and can be configured to detect when 1 server is down, thus keeping your service active when 1 server goes down.