Live data from Hacker News

Alpine Linux 3.24.0 Released

alpinelinux.org

11–20 of 23 posts

Re: Alpine Linux 3.24.0 Released

#12

My home server has been running alpine for a while now. I'm always delighted with how simple and robust it is. Not that this is probably recommended, but I have a cron script that checks for upgradable packages every night and automatically installs them. It has always been seamless. My family uses this server throughout the day, and the only daytime down-time has been due to power outages. (In some way the reliabili…

It gets attention in headless, but I've come to enjoy it on desktop as well. I've even got it on a Steam Deck and it's... 90% great. I do need to swap the kernel because the default one disables some modules (mostly the built in audio), but it's been surprisingly nice.

Re: Alpine Linux 3.24.0 Released

#13
I know that Alpine has a package manager but I haven't tried it because I worry that Musl might present problems compiling software (I sometimes like to compile things myself, like Vim or Emacs). Is this worry valid?

Also are there any issues compiling Go and Rust programs on Alpine?

Re: Alpine Linux 3.24.0 Released

#14
post #6

Earlier quoted context omitted.

Been looking at Linux but I can’t pry myself away from openbsd and pf cuz the syntax is so nice. You got any blog or something about your alpine router?

I should write up something about that as a few people have asked. I'm using nftables for the firewall. I disable IPv6, some may not like that.

IIRC IPv6 is mostly copying the same firewall rules, so if people want that I think it'd be easy for them to add?

Re: Alpine Linux 3.24.0 Released

#15
post #13

I know that Alpine has a package manager but I haven't tried it because I worry that Musl might present problems compiling software (I sometimes like to compile things myself, like Vim or Emacs). Is this worry valid? Also are there any issues compiling Go and Rust programs on Alpine?

If you're only building common packages I wouldn't expect trouble. For example, I don't see any patches in the official vim package: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/c...

Re: Alpine Linux 3.24.0 Released

#16
post #6

Earlier quoted context omitted.

I should write up something about that as a few people have asked. I'm using nftables for the firewall. I disable IPv6, some may not like that.

IIRC IPv6 is mostly copying the same firewall rules, so if people want that I think it'd be easy for them to add?

The nftables rules are very easy for IPv6. I have the rules for it in place, just prefer to disable it out of personal preference.

Re: Alpine Linux 3.24.0 Released

#18

My home server has been running alpine for a while now. I'm always delighted with how simple and robust it is. Not that this is probably recommended, but I have a cron script that checks for upgradable packages every night and automatically installs them. It has always been seamless. My family uses this server throughout the day, and the only daytime down-time has been due to power outages. (In some way the reliabili…

It gets attention in headless, but I've come to enjoy it on desktop as well. I've even got it on a Steam Deck and it's... 90% great. I do need to swap the kernel because the default one disables some modules (mostly the built in audio), but it's been surprisingly nice.

Can you to into more detail on your Steam Deck setup? I have a MSI Claw running Bazzite and I would love to look at some different options, especially Alpine.

Re: Alpine Linux 3.24.0 Released

#19
post #13

I know that Alpine has a package manager but I haven't tried it because I worry that Musl might present problems compiling software (I sometimes like to compile things myself, like Vim or Emacs). Is this worry valid? Also are there any issues compiling Go and Rust programs on Alpine?

Alpine is a very popular platform for both compiling and hosting Go applications--especially static, no n-CGO binaries--given it's minimal footprint.

A common issue people have with Alpine is musl libc's DNS resolver, which can behave differently (thus confusingly) than glibc's. But that wouldn't effect Go applications unless CGO is enabled and it uses the libc resolver. Go's native resolver behaves differently than glibc's, too, but I don't think that's any more of an issue. And the musl resolver has fewer quirks today than it used to, so fewer surprises than a few years ago.

Re: Alpine Linux 3.24.0 Released

#20
Alpine is a good system for the boot/main rootfs because it's rock solid and has the most recent kernel. When glibc is required or when you just want to access the repositories of other distros you can unshare and pivot_root into the respective rootfs (using bubblewrap). There is also flatpak (uses bubblewrap internally).

You can also go the extra mile and use bubblewrap to initialize the desired mount environment and then enter a sandbox from it using virtualization (/dev/kvm). Some VMM's such as muvm[1] even allow for hardware acceleration and performant Wayland pass-through.

[1] https://github.com/AsahiLinux/muvm>

This project aims to do exactly what I described but defaults to Nix: https://git.clan.lol/clan/munix>

Post reply on HN