News for hackers. Stuff that matters.
Re:Void Linux: Into the Void by ifbizo on Sunday March 25, 2018 @12:27PM (#16672894)
How do people compare this to Alpine Linux? I'm interested in both.
Re:Void Linux: Into the Void by yjftsjthsd-h on Sunday March 25, 2018 @04:00PM (#16674221)
I use both as daily drivers on laptops, and they are both very nice systems. Some differences:

* Alpine is lighter-weight. As at least one point, Alpine packages are split into small parts (usually at least app, app-dev, and app-doc, respectively containing the actual program, the development headers, and the manpages/docs). Alpine also defaults to using Busybox for coreutils.

* Void is rolling release with regular updates and a surprisingly large repo. Alpine has a rolling "edge" release and stable releases that are supported for 2 years.

* Void works on a traditional install to a writable root filesystem; Alpine can do that ("sys" install), or can run in RAM, optionally persisting state).

* Alpine uses hardened kernels. They used to use grsec, not sure what code they use now. Additionally, they configure the system to be locked down; for instance, on the laptop I'm using to type this comment, I can only check the battery status as root, and powertop outright doesn't work (as I understand it, they completely killed off the debugfs interface it needs).

* Void seems to be more into cutting-edge tech; ZFS and wireguard come to mind.

In general, Alpine is designed for embedded, Void is a general-purpose system. Both can do the others' job, but that's their tendencies.

Re:Void Linux: Into the Void by zaarn on Monday March 26, 2018 @05:41AM (#16677718)
The alpine userspace is also great to run in containers

my LXC container basically runs up DHCP to get an IP and a SSH server to provide a remote shell, everything else is per-server setup like webservers and stuff, compared to the ubuntu containers I run Alpine uses a LOT less memory and CPU.

Re:Void Linux: Into the Void by _emacsomancer_ on Sunday March 25, 2018 @01:28PM (#16673254)
Alpine is musl only; Void has both glibc and musl variants. Void seems more desktop-focussed than Alpine, and (at least as of a year ago) I didn't have a lot of luck with ZFS on Alpine.
Re:Void Linux: Into the Void by zaarn on Monday March 26, 2018 @05:36AM (#16677704)
IIRC you can install glibc into Alpine when an application needs it but the packages are all musl.
Re:Void Linux: Into the Void by _emacsomancer_ on Tuesday March 27, 2018 @11:08PM (#16694927)
A glibc chroot still seems to be the recommended method: https://wiki.alpinelinux.org/wiki/Running_glibc_programs
Re:Void Linux: Into the Void by BlackLotus89 on Friday March 30, 2018 @02:35PM (#16718656)
Hehehe I wrote the original wiki entry (because someone on irc asked for something like that)

I think it's still the recommended way for dependency management reasons and missing glibc-packages. If you can get your program running with the alpine glibc you should probably do that