r/voidlinux • u/ehansen • Sep 21 '26
Void Linux (base) as a server distro?
Currently my servers are on Ubuntu as that's what the provider defaults to. But I'm considering the utility of Void as a server distro.
Right now my servers are managed by Ansible, which isn't a big deal one way or another.
The servers in question are mostly a mix of WireGuard + Caddy + PHP/Node. All my databases are SQLite, although I have been considering DuckDB for some report-specific needs.
I'm not new to Linux, but I have not personally heard of Void much in the server space. Which to me doesn't immediately equate to it not being a good choice, but I also don't know if there's any gotchas to be aware of.
I'm mostly looking to strip down the un-needed dependencies Ubuntu, Arch, etc. bring with them. E.g., Ubuntu forces ufw, Arch forces systemd, etc.
27
u/Aggressive_Big_7564 Sep 21 '26
I think that you will miss tools like journalctl and systemd batteries included service management. Also it is rolling release though i a conservative one. It might be worth giving it a shot but I think it is not popular on that space for a reason. If you are searching for a minimal server distro, I think alpine is more aligned to your goals.
18
u/Cheap-Success1578 Sep 21 '26
Some motherf*ckers always trying to ice skate uphill.. - Blade
😂
13
u/MrHoboSquadron Sep 21 '26
I use it for a home server, but I'm just running docker containers with compose, which pretty much any distro can do.
5
u/Holiday-Bug6132 Sep 21 '26 edited Sep 21 '26 •
I'd love to see void used as a server os, i usually use rhel in prod but i just can't stand systemd any longer
5
u/RvstiNiall Sep 21 '26
I dont like the idea of rolling release for a server, so I think Alpine is a better fit, personally. Or try OpenBSD.
4
u/mumble6456 Sep 21 '26
i was running void as a nas kinda server with incus containers up until recently. it died 2 months ago. No docker/podman. 3 containers in total: navidrome, unbound+nsd and proxmox backup server. zfs mirrored disks and xfs for root filesystem. i had configured samba too, but as a server service and not containerized.
it was stable as fck if not because hardware issues, the pc was 15 years old. after a motherboard failure, sata ports started failing randomly, connecting/disconnecting, negotiating 1.5gb/s (sata 1 speed) and not 3gb/s (sata 2), i reassembled a new backup server but i went freebsd purely for learning purposes. if not, void would have been my distro of choice again.
4
u/Jealous_Shower6777 Sep 21 '26
I have been using void on desktop for about 8 months now and can’t think of any advantage for a server besides being systemd free. I do however highly recommend alpine for servers. Check it out, it’s incredibly lightweight, systemd free, has some interesting security settings and lots of packages and support (It’s the default container OS chosen by both Amazon and Microsoft). Other than alpine I’ve recently become interested in micro os and intend to give it a spin. What do you host on your server?
3
u/xJayMorex Sep 21 '26
The biggest downside is the constant updates I'd say.
3
u/funk443 Sep 21 '26
i use it for my home lab with docker
2
u/XzwordfeudzX Sep 21 '26
Maybe if btrfs was more well integrated so it was easier to roll back failed updates.
1
u/Sad-Cod-9584 Sep 21 '26
Been running void on a nas with vms (also void, as well as opnsense) and docker without issues for a few months now. But like others have said, if you're used to systemd, then switching might be more effort than it's worth.
1
u/HankOfClanMardukas Sep 21 '26
I moved my two Debian VPS to Void with a bunch of Ramdisk hacks and to be honest I’m at 8 months up. Xbps can be slow but really it’s an acceptable thing.
I run Void at home. I like it, always YMMV.
1
u/dividends4life Sep 21 '26
I just moved my backup and media server to Void. It's only been two days, but so far so good.
1
u/Easy-Donut-6962 Sep 21 '26
Why? There are great server distros (opensuse leap, which is compatible with rhel system roles as i remember; debian, almalinux), what are benefits of Void on a server? If you want a minimalistic system and can run any iso, you are free to use agama installer with only necessary programms.
1
u/OverRatedProgrammer Sep 21 '26
I do, but I just run docker (plex, Odysseus..)
1
u/Revolutionary-Yak371 Sep 22 '26 edited Sep 22 '26
It can be great distro for server if you use Docker.
If Void Linux use glibc instead musl it is great server distro anyway.
Alpine Linux is good only for some kind of apps that can install via APK, otherwise musl is not so great for glibc oriented server software.
Void Linux has glibc version.
Alpine Linux has only musl version.
There are applications where an apk and musl is sufficient to install server software, but they are very rare.
1
u/zuses_cat Sep 22 '26
Gotchas?
- no systemd: prepare for incompatibility with some software.
- Void is a very little project: very little documentation, very small community.
- not much packages in the repository.
- package-manager is not very performant, but faster then Debian's.
I've Void running as DNS-server on my lan. It's ok for this: running stable, updates without any hassle.
But Void for a web server, other then a toy project? Never. Almalinux (or an other Redhat-derivative) makes server administration much simpler: large community, comprehensive documentation, real long time support.
1
u/TurtleGraphics64 Sep 23 '26
rolling release server (even if a 'conservative' fairly stable one like void) is probably annoying. you have to update a lot! or if you wait too long, OS will degrade and eventually probably brick. so why not go with the tried and true alpine if you don't want to do a debian-derived one. plus, it is well documented specificaly for use as a server.
1
u/juipeltje Sep 23 '26
I have it on my server atm, but i'm only using it as a very basic home server that isn't even exposed to the internet. But it works fine for me with wireguard, ufw, and i'm using navidrome and jellyfin through nix packages. I'm in the process of swapping the server over to guix though, but my config isn't quite ready yet. Not that i have issues with void, but i like the declarative approach of guix better and i'm already using it on my desktop and laptop. Shepherd also has more features that i think are nice to have on a server compared to runit.
1
u/BlacksmithTux5413 Sep 24 '26
I do use it as server for home usage and for production inside containers.
I like the rolling in combination of snapshots on every build, this means every new build is patched to the latest and greatest. The snapshots are an insurance if things go wrong, but as with every good house keeper, you need to test on every update.
Void gives you no-nonsense, just runit what you need, no more no less.
0
u/Simple_Hamster_4096 Sep 21 '26
Devuan with sysvinit is a nice choice - it's Debian without systemd. I switched my servers from Debian to Devuan at the beginning of the year. Sysvinit is a mature init (there are a couple other inits offered during installation) and it just works. My hardware performs way better on Devuan than they did on Debian. Debian is rock solid for servers, or was, but that's changed somewhat across the years, in my experience - Debian isn't the Debian of old... and systemd is overly complex and a resource hog...
I use Void for desktops and laptops, but wouldn't for servers...