News for hackers. Stuff that matters.
Re:Alpine Linux does not make the news by rolph on Tuesday July 25, 2023 @03:38PM (#36868179)
* * *
Re:Alpine Linux does not make the news by ccrush on Tuesday July 25, 2023 @04:06PM (#36868557)
doesn't everyone use it in containers?
Re:Alpine Linux does not make the news by TheFreim on Tuesday July 25, 2023 @04:09PM (#36868599)
I first learned about alpine because I saw a project use it for their containers.
Re:Alpine Linux does not make the news by thewataccount on Tuesday July 25, 2023 @05:12PM (#36869647)
Most of the big packages have alpine variants yeah
Re:Alpine Linux does not make the news by dgrove on Tuesday July 25, 2023 @04:33PM (#36868976)
The lack of package signing and reproducible builds leaves a lot to be desired
Re:Alpine Linux does not make the news by micahcc on Tuesday July 25, 2023 @04:47PM (#36869228)
still true it doesn't make news I suppose
Re:Alpine Linux does not make the news by duped on Tuesday July 25, 2023 @05:07PM (#36869575)
Their apks aren't hosted at stable urls either so you can't even write a script that can reliably create a reproducible build.
Re:Alpine Linux does not make the news by sacnoradhq on Tuesday July 25, 2023 @11:10PM (#36872658)
In general:

1. There should be an easy-to-use API, CLI, library, and data (sqlite db or whatever) to query package metadata efficiently.

2. The mythological purity of rolling releases building against edge versions without dependency constraints or maintaining stable versioning causes problems in the real world(tm). There are many cases where past versions are needed. Example: ffmpeg is buggy as hell and has to be managed very carefully. Another example: binutils, gcc, mpfr, mpc, and toolchain friends have to be built together with compatible versions. Further example: don't compile anything with Clang/LLVM 14+ unless you want all of your code to break because some genius decided to break the world out of ideological perfectionism. macports, Homebrew, nix, and Arch are just some who are guilty of this sin.

Re:Alpine Linux does not make the news by thewataccount on Tuesday July 25, 2023 @05:15PM (#36869688)
I'm confused as to why package signing isn't standard for all package managers.

Didn't Pypi just remove signing too?

Re:Alpine Linux does not make the news by bravetraveler on Tuesday July 25, 2023 @08:53PM (#36871790)
PyPi did indeed, but it's a fairly interesting case. It was removed because the implementation was ineffective

More information on that here: https://blog.yossarian.net/2023/05/21/PGP-signatures-on-PyPI...

There was a lot of talk about why this didn't go the other way; keeping signing, but making the practice meaningful. I forget the details about that.

Re:Alpine Linux does not make the news by Arnavion on Tuesday July 25, 2023 @05:52PM (#36870101)
Packages are signed in exactly the same way Debian packages are signed, ie the package files themselves are not signed but the index file that lists them is.
Re:Alpine Linux does not make the news by dgrove on Wednesday July 26, 2023 @12:51PM (#36880814)
Because a single hot key for signing on a random build server has never fucked anyone before?

https://www.techtarget.com/whatis/feature/SolarWinds-hack-ex...

Re:Alpine Linux does not make the news by Arnavion on Wednesday July 26, 2023 @10:08PM (#36887994)
Please move those goalposts farther. I can still see them.
Re:Alpine Linux does not make the news by MartijnBraam on Wednesday July 26, 2023 @07:53PM (#36886831)
Both the package and the index is signed actually. That's why it still works when installing APK files directly
Re:Alpine Linux does not make the news by sacnoradhq on Tuesday July 25, 2023 @11:06PM (#36872642)
Redhat (pre-RHEL) solved package signing around 1999 with RPM 2.0/3.0 by using PGP and later replacing it with GPG. Debian solved it around 2003 by also using GPG.

https://dan.drydog.com/rpm-signing-howto.html

https://www.cryptnet.net/fdp/crypto/strong_distro.html

With truly reproducible builds, it's possible to introduce distributed caching of artifacts and selective probabilistic rebuilds from source to attest/verify integrity in a distributed manner.

Re:Alpine Linux does not make the news by davegauer on Tuesday July 25, 2023 @04:37PM (#36869052)
Alpine is wonderful for old hardware.
Re:Alpine Linux does not make the news by micahcc on Tuesday July 25, 2023 @04:48PM (#36869244)
I've been migrating to nixos. I think it makes news in that everyone is obligated to hate it publicly for at least 6 months before resigning themselves to it.
Re:Alpine Linux does not make the news by walterbell on Tuesday July 25, 2023 @05:05PM (#36869539)
https://www.zdnet.com/article/chainguard-releases-wolfi-a-li...

> To make this new Linux variant, Lorenc said, "We hired a bunch of the original Alpine team. But, Alpine was never designed for containers. It was originally designed for routers, firmware, and that kind of thing. What made it attractive for containers was its size and security." Wolfi takes that minimal approach to an extreme for the sake of security.

Re:Alpine Linux does not make the news by tannhaeuser on Tuesday July 25, 2023 @05:56PM (#36870151)
I'm not complaining, but am a bit surprised to hear Drew's praises. Isn't Alpine, by using BSD-licensed muslc instead of glibc, OpenRC instead of Linux-only systemd, and by its overall business-friendly focus on containers enabling distribution free of GPL restrictions conflicting with Drew's FSF and GNU engagement?
Re:Alpine Linux does not make the news by smashed on Tuesday July 25, 2023 @06:33PM (#36870621)
Can't speak for him but from looking at his work, I think he also likes minimalism and human scale software (if that's a thing).

Of course it's probably not the license he'd prefer but you can still appreciate something for what it is despite the license.

Re:Alpine Linux does not make the news by garbagecoder on Tuesday July 25, 2023 @11:18PM (#36872699)
Gee, it’s almost like Drew has opinions for the same reason a skunk has musk.
Re:Alpine Linux does not make the news by dang on Thursday July 27, 2023 @04:06PM (#36899392)
Could you please stop posting unsubstantive comments and flamebait? You've unfortunately been doing it a lot. We have to ban such accounts. We've had to ask you about this multiple times already.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.

Re:Alpine Linux does not make the news by Arnavion on Tuesday July 25, 2023 @06:07PM (#36870309)
>It has been a boring experience. The system is simply reliable, and the upgrades go over without issue every other quarter,

>Or more frequently on edge, which I run on my workstation and laptops

https://news.ycombinator.com/item?id=36407275

(tl;dr Alpine Edge is stable in some situations and unstable in others. User discretion is advised.)

Re:Alpine Linux does not make the news by gary_0 on Tuesday July 25, 2023 @06:11PM (#36870357)
There are few better ways to get me interested in something than to tell me it's boring and basic and just works. I'm a hobbit.
Re:Alpine Linux does not make the news by plorkyeran on Tuesday July 25, 2023 @07:52PM (#36871324)
Unfortunately "boring and basic and just works" is not a very accurate description of Alpine Linux. If you never want to use anything which doesn't support musl then it's a very pleasant and reliable distro, but not using glibc does make it relatively exotic for a linux distro and there is quite a bit of software that will have problems.
Re:Alpine Linux does not make the news by mduggles on Tuesday July 25, 2023 @06:12PM (#36870366)
Alpine’s use of musl means only the truly insane would be leaping to its defense. The inability to support DNS over TCP was a problem for years. Outside of that, so many things presuppose glibc. It’s an endless source of weird.

It doesn’t make the news cause it’s a hobby os that was made important when we decided the size of the container mattered most.

Re:Alpine Linux does not make the news by nerdbaggy on Tuesday July 25, 2023 @06:31PM (#36870590)
It has actually been around since 2008. I’m not sure how it became so popular for docker. https://wiki.alpinelinux.org/wiki/Alpine_Linux:Trivia
Re:Alpine Linux does not make the news by duped on Tuesday July 25, 2023 @09:07PM (#36871907)
Bandwidth costs and download/upload speed
Re:Alpine Linux does not make the news by COGlory on Tuesday July 25, 2023 @06:31PM (#36870588)
NAND is like pennies/GB. I seriously don't understand the musl thing. It has caused me endless headaches and drives me up a wall.
Re:Alpine Linux does not make the news by outime on Tuesday July 25, 2023 @06:53PM (#36870848)
There are other things to consider, specially data transfer and build times (apk is much faster than apt in my experience). If these and other benefits are worth the trouble of musl is up to each individual.
Re:Alpine Linux does not make the news by nerdbaggy on Tuesday July 25, 2023 @07:06PM (#36870972)
Alpine and musl were originally crated for embedded devices, hence the small size. It is interesting how it has become so popular in docker. https://musl.libc.org/about.html
Re:Alpine Linux does not make the news by re-thc on Wednesday July 26, 2023 @12:06AM (#36872961)
Before other OS offered slim and smaller variants and optimized for size, Alpine was the best bet. At some point the difference was huge and that meant huge savings and a increase in productivity.
Re:Alpine Linux does not make the news by GuB-42 on Tuesday July 25, 2023 @07:41PM (#36871249)
As a non-user, I think such variety is a good thing.

Not using the same thing everyone uses forces developers to care about standards rather than to assume compatibility just because it is how the favorite implementation works. Same reason why it is a good thing that a popular browser that is not Chromium-based exists.

Re:Alpine Linux does not make the news by duped on Tuesday July 25, 2023 @09:06PM (#36871897)
Memory is not cheap in the cloud nor is bandwidth, so optimizing for image/container size is quite cost effective.

Also every headache I've had with musl libc is because glibc is insane, not because there is a problem with musl. It should be trivial to swap out your standard library, as that is the entire point of dynamic loading. Yet you cannot actually swap out the dynamic library that nearly every program on your system will need, because it's not actually a library.

Re:Alpine Linux does not make the news by hinkley on Wednesday July 26, 2023 @12:04AM (#36872948)
People often forget that bandwidth is time. A significant fraction of redeploy time for me is docker images, and that's using alpine base images. It would be (was) far worse with something else.
Re:Alpine Linux does not make the news by dharmab on Wednesday July 26, 2023 @02:44AM (#36873896)
If you are optimizing for image size, Alpine is not the best choice. For example, Distroless (https://github.com/GoogleContainerTools/distroless) has options 50% smaller than Alpine.
Re:Alpine Linux does not make the news by hinkley on Wednesday July 26, 2023 @01:03PM (#36881017)
My other options seem to be to use more Google software or more RedHat software and both of those have been in the doghouse for some time.

I’d be more likely to use CoreOS as at least I can claim peer pressure, and potential layer savings.

Re:Alpine Linux does not make the news by sofixa on Wednesday July 26, 2023 @04:29AM (#36874655)
That's why the best option is scratch containers, they have pretty much nothing outside of the stuff you add in manually (like your binaries).
Re:Alpine Linux does not make the news by hinkley on Wednesday July 26, 2023 @09:45AM (#36877610)
I’m not fucking around with a container that doesn’t have a package manager in it. apk does a pretty good job of not being populated with hot garbage.
Re:Alpine Linux does not make the news by sofixa on Wednesday July 26, 2023 @10:19AM (#36878175)
You don't need a package manager in your production container, you need one for the dependencies to build your artifact (in previous stages) which gets passed on, on it's own, statically compiled, to the empty container.
Re:Alpine Linux does not make the news by hinkley on Wednesday July 26, 2023 @12:36PM (#36880545)
And I need a tool chain for inspecting a sick container trying to figure out why CPU jumped 25% for no apparent reason.

Also some programming languages, you can’t really populate the app’s dependencies without a bunch of its dependencies. And the only way to split the difference means you have to memorize every file that gets created during the build/install process to be sure you don’t miss anything airlifting them from one container to another.

All of which amounts to me becoming the package manager. Which gets much less fun the more containers you have running in prod.

I generally respect the curation that alpine does. Not too old, not too bleeding edge.

Re:Alpine Linux does not make the news by dharmab on Wednesday July 26, 2023 @05:48PM (#36885576)
> And I need a tool chain for inspecting a sick container trying to figure out why CPU jumped 25% for no apparent reason.

You can attach a debugging container with your tools temporarily: https://kubernetes.io/docs/concepts/workloads/pods/ephemeral...

Re:Alpine Linux does not make the news by dharmab on Wednesday July 26, 2023 @10:01AM (#36877857)
Generally with scratch images you build in a less weird environment, then copy your application's files into a scratch image.

https://docs.docker.com/build/guide/multi-stage/

Re:Alpine Linux does not make the news by sacnoradhq on Tuesday July 25, 2023 @10:43PM (#36872522)
There are FOSS projects that sound nice and desirable but are too impractical to use in the real world. I call them "libmagicponies".

On a related topic, I don't use Ubuntu, Debian, Alpine, Arch, Gentoo, Rocky, Alma, Fedora, or {Free,Open,Net}BSD. I use CentOS 9 stream for most things: it's basically RHEL's kernel and it powers 100M's-1 B machines.

Re:Alpine Linux does not make the news by adrian_b on Wednesday July 26, 2023 @02:15AM (#36873703)
Instead of saying "too impractical to use in the real world", which is obviously false, since many other people have been using at least a part of those in the real world for decades with excellent results, you should say that there are such projects that you have never felt the need to learn about, because you happened to find one that covered well your needs, so you never had any reason to explore alternatives, which is perfectly fine.
Re:Alpine Linux does not make the news by appleflaxen on Wednesday July 26, 2023 @08:37AM (#36876633)
* * *
Re:Alpine Linux does not make the news by 112233 on Wednesday July 26, 2023 @10:03AM (#36877909)
Yeah, and the devices with embedded linux firmware also are pennies apiece. Not every linux installation is a banking mainframe, and not every ARM soc even gets those NANDs.
Re:Alpine Linux does not make the news by firen777 on Tuesday July 25, 2023 @08:33PM (#36871631)
> The inability to support DNS over TCP was a problem for years.

I'm no expert in the subject matter, [but support seems to be coming soon?](https://gitlab.alpinelinux.org/alpine/tsc/-/issues/43#note_2...)

Re:Alpine Linux does not make the news by silisili on Tuesday July 25, 2023 @10:22PM (#36872382)
Yes, but people have been complaining for -years-, because it was broken. And rather than listen to reason, the author ignored it because of his own misunderstanding of an RFC...
Re:Alpine Linux does not make the news by justinclift on Wednesday July 26, 2023 @01:10AM (#36873361)
Heh Heh Heh

Looks like the patch isn't very long either, so hopefully it'll be fairly solid:

https://git.musl-libc.org/cgit/musl/commit/?id=51d4669fb9778...

Re:Alpine Linux does not make the news by qalmakka on Wednesday July 26, 2023 @12:55AM (#36873271)
Glibc is a nasty piece of software full of nonstandard GNUisms that basically implements a separate standard. I've fought for years against the fact they've got functions that are not found in any other libc and have different behaviours depending on macros, often conflicting with POSIX or BSD variants. The fact the project was run for almost 20 years by a guy that managed it in a dictatorial style was a huge reason why so many alternative libc existed (that, and the licensing). Few people here remember about EGLIBC I guess.

Glibc is also such a mess that it still does not compile with Clang, after _decades_, due to all the crazy GCC extensions they rely on. An attempt is cyclically started and the aborted when some new crazy nonsense is found. For instance, last time I checked they not only used the completely insane folly that GCC nested functions are, but they also relied on GCC attributes so nasty that LLVM never bothered implemented them (like renaming functions at code generation). Using these extensions are not really necessary, and I've a strong suspicious it was more of an attempt by the GNU authors to prevent distributions to ever consider not using GCC as their main compiler.

Also how name resolution is implemented in Glibc means you can't really statically link with it. If you've ever noticed, most "statically linked executables" are not in fact statically linked, but require ld.so just for libc. There are good reasons to disallow statically linking libc, but this is not one of them. Especially since the only stable API on Linux is the kernel interface, so the only way to not have to worry about future Glibc breakage is to either link with Musl or live with the risk.

Re:Alpine Linux does not make the news by physicsguy on Wednesday July 26, 2023 @02:08AM (#36873668)
I get where you’re coming from but it’s impractical for many use cases to switch.

I work in Python; pretty much no extension packages have a pre-compiled Musl version so you end up spending a ton of time compiling things!

Re:Alpine Linux does not make the news by ftaghn on Wednesday July 26, 2023 @11:53AM (#36879820)
https://pythonspeed.com/articles/alpine-docker-python/

>Using Alpine can make Python Docker builds 50× slower

Musl is a dire mistake.

Re:Alpine Linux does not make the news by CHY872 on Wednesday July 26, 2023 @02:40AM (#36873869)
My experience with musl has been that while it’ll most probably work, you’re severely at risk of a 30%+ perf degradation, and that means the juice is really not worth the squeeze.

glibc shouldn’t be statically compiled in because it’s lgpl and so immediately infects your code if you do.

The zig linker is quite nice here because it lets you pick what glibc you want to be compatible with.

Re:Alpine Linux does not make the news by CodesInChaos on Wednesday July 26, 2023 @03:41AM (#36874270)
> you’re severely at risk of a 30%+ perf degradation

Do you know if that's mainly due to the inefficient malloc, or if there are other important performance bottlenecks?

Re:Alpine Linux does not make the news by Conscat on Wednesday July 26, 2023 @03:20AM (#36874132)
The `[[gnu::optimize()]]` attribute is a fantastic feature that clang really should have some day.
Re:Alpine Linux does not make the news by guilhas on Saturday July 29, 2023 @06:34PM (#36925461)
Better GNUisms than muslisms

glibc has been more wildly tested, and fixed what was not working, while musl choices were mostly ideological

Re:Alpine Linux does not make the news by qwery on Wednesday July 26, 2023 @07:26AM (#36875891)
Who is leaping?

Only the truly insane would be lashing out at Alpine just because of its use of musl.

Re:Alpine Linux does not make the news by Brian_K_White on Wednesday July 26, 2023 @08:17AM (#36876404)
The size of the container matters most when we decided every executable needed to come wrapped in it's own OS.
Re:Alpine Linux does not make the news by planetafro on Wednesday July 26, 2023 @09:16AM (#36877147)
This is patently false. Tons of Enterprise orgs use Alpine for security concerns, ease of administration, and size. I guess all those prod microservices existence is "insane".
Re:Alpine Linux does not make the news by slotrans on Tuesday July 25, 2023 @07:28PM (#36871150)
The first time I hit bugs trying to run a JRE on Alpine because of musl, I threw it away and never looked back. I understand there are musl builds of Java these days but I don't care, the whole thing is just an unnecessary headache.
Re:Alpine Linux does not make the news by Brian_K_White on Wednesday July 26, 2023 @08:42AM (#36876700)
Not denying there is a headache, but it's at least 50% arguable to conclude that the source of the headache is glibc rather than musl or any other libc.

The path of least resistance is merely the path of least resistance, not necessarily the best, especially in the long term.

At one point glibc was the weird incompatible limited headache, and the only reason you can enjoy it today instead of paying $1200 to SCO or someone, is because other people did not take the path of least resistance.

Re:Alpine Linux does not make the news by web3-is-a-scam on Tuesday July 25, 2023 @07:44PM (#36871271)
I’ve run into way too many issues with musl to consider it for anything serious. For containers I use debian-slim and it’s great (of course, it’s Debian after all).
Re:Alpine Linux does not make the news by wkat4242 on Tuesday July 25, 2023 @08:28PM (#36871599)
Are those really issues with musl or with code written towards glibc quirks?
Re:Alpine Linux does not make the news by akvadrako on Wednesday July 26, 2023 @03:23AM (#36874151)
There are plenty of both. One issue is you can't create static binaries with musl and tcc. If I remember correctly its because musl doesn't supply thread local variables.
Re:Alpine Linux does not make the news by Brian_K_White on Wednesday July 26, 2023 @08:30AM (#36876540)
You can't create static binaries with glibc. So...?
Re:Alpine Linux does not make the news by ParetoOptimal on Wednesday July 26, 2023 @08:50AM (#36876808)
Nixpkgs pkgsCross is the first time cross compiling to musl has been convenient enough for me to try it.

In repl IIRC:

    :build pkgs.hello
    :build pkgs.pkgsCross.musl.hello
Re:Alpine Linux does not make the news by bravetraveler on Tuesday July 25, 2023 @08:23PM (#36871557)
I long for a news article/PSA explaining how name resolution differs with musl compared to glibc

This one characteristic has made me a hero, over and over, and I'm honestly tired of it.

I'd think twice before using it. What you hope to gain and how else they may be achieved. Registry caches are easy to deploy and don't get enough love.

Any sufficiently complex service will find oddities, and you might need some graybeard wizard to sort it out.

Re:Alpine Linux does not make the news by rendaw on Tuesday July 25, 2023 @11:00PM (#36872618)
Are there differences beyond what's mentioned here? https://wiki.musl-libc.org/functional-differences-from-glibc... in Name Resolver/DNS?
Re:Alpine Linux does not make the news by bravetraveler on Tuesday July 25, 2023 @11:16PM (#36872687)
Aye, for example - how /etc/hosts and precedence plays out.

With glibc this normally falls to nsswitch. Sadly I can't remember much about musl - I'm too tired and I've been focused elsewhere lately.

It's notably different in terms of preferred order between files/DNS, also with 'conflicting' repeats (aka lazy round robin).

Beyond that, my point is more about awareness. The developers involved were not aware of what you've provided... or what's not mentioned

Re:Alpine Linux does not make the news by LoganDark on Tuesday July 25, 2023 @08:41PM (#36871685)
We love Alpine because `/` is a tmpfs. Your packages and other modifications are all reinstalled from scratch each boot. This gives such a clean install compared to most other distributions that it's not even funny, it's just sad.

We're not particularly interested in NixOS or Guix but we really really want to find a glibc-based distribution that works this way, because Alpine's musl is terrible for desktop use, but the package management is just so amazingly simple and beautiful on a daily driver.

-Emily (see HN profile for details)

Re:Alpine Linux does not make the news by ArclightMat on Tuesday July 25, 2023 @11:21PM (#36872713)
Have you tried Fedora Silverblue[1] and its cousins? `root` is an immutable image powered by something akin to `git` but for OS files. You can layer RPMs (although you should use flatpak or containers wherever possible) and /etc is mutable but also tied to the deployed image[2]. You can rollback your system to previous images, rebase it to a completely different system (i.e from `silverblue/gnome` to `kinoite/plasma`) or build your own OS image for deployment instead.

It is a different desktop paradigm for sure (for one, you won't be using a standard package manager) and you do feel its rough edges sometimes, but it is my favorite Linux experience so far, where the OS doesn't stay on my way unless I want it to be in the way: I turn my PC on, use it as usual, desktop apps are updated on background with GNOME Software/flatpak and if there is a new image available, as soon as I reboot/shutdown, next time it is up, everything has been cleanly applied. Flatpak'd apps also won't spread files across the system, so everything is as self-contained as it can be.

[1] https://fedoraproject.org/silverblue/ [2] https://ostree.readthedocs.io/en/stable/manual/introduction/

Re:Alpine Linux does not make the news by jcastro on Wednesday July 26, 2023 @12:20AM (#36873049)
This is actually run my computer, with a fedora-silverblue based image but my CLI is running alpine images.

So I made a little kit so anyone can do this on any linux so you can try all the cool stuff in there without the downsides of running a less popular configuration on the bare metal.

And since it's Alpine it's always a fast download vs. a heavier container.

https://github.com/ublue-os/boxkit

Re:Alpine Linux does not make the news by LoganDark on Wednesday July 26, 2023 @07:21PM (#36886547)
Yes, we tried Fedora Silverblue, but it's a little too immutable as the Nvidia driver broke after a motherboard swap and we were completely unable to diagnose or debug anything because of the immutability.
Re:Alpine Linux does not make the news by ParetoOptimal on Wednesday July 26, 2023 @08:48AM (#36876769)
> We're not particularly interested in NixOS or Guix

Why not? Isn't it a competing solution?

Re:Alpine Linux does not make the news by NoahKAndrews on Wednesday July 26, 2023 @10:41AM (#36878500)
Complexity, I'd imagine
Re:Alpine Linux does not make the news by ParetoOptimal on Wednesday July 26, 2023 @12:59PM (#36880946)
Yeah, you are probably right.

I'd argue Nix merely surfaces the inherently complex nightmare we've all been hiding from though.

From that view it's likely I'd view alpine as pretending to be simple while shuffling complexity elsewhere.

I'm not confident enough to say that is the case with alpine though.

Re:Alpine Linux does not make the news by LoganDark on Wednesday July 26, 2023 @07:25PM (#36886576)
> pretending to be simple while shuffling complexity elsewhere

We don't particularly care if, say, `lbu` is a 10,000 line bash script, if it works. Actually, we've tinkered around with KISS Linux before, where a single bash script is responsible for being the entire package manager and rebuilding the entire operating system live. We were unable to get Nvidia working on it even before the motherboard swap though :)

Re:Alpine Linux does not make the news by ParetoOptimal on Thursday July 27, 2023 @09:29AM (#36893154)
Even though I disagree, thanks to all of you for sharing your experiences!
Re:Alpine Linux does not make the news by LoganDark on Wednesday July 26, 2023 @07:23PM (#36886558)
No, it's absolutely not, it solves a completely different problem (declarative system configuration), where Alpine is not declarative.
Re:Alpine Linux does not make the news by mr-karan on Tuesday July 25, 2023 @09:11PM (#36871929)
Have had so many issues related to DNS Lookup failures with container images on Alpine that I honestly can’t be bothered to deal with it anymore. If such basic stuff isn’t reliable then why should I consider it for production usage?

I stick to using Ubuntu minimal container images. They’re 30MB (compressed) in size so it’s never a problem around container bloat.

Re:Alpine Linux does not make the news by sk5t on Tuesday July 25, 2023 @10:04PM (#36872286)
Alpine DNS is so insanely weird. I had an immutable task that, after a year of smooth operation, would fail one particular DNS lookup in the JRE in one specific AWS AZ, and did fine in other AZs in the region, or if you seeded whatever host cache it uses with “dig” every so often. I couldn’t detect any difference in the DNS responses across AZs.

Those tasks then became Debian based within a couple days.

Re:Alpine Linux does not make the news by justaj on Wednesday July 26, 2023 @04:29AM (#36874659)
Has anyone here successfully ran Alpine on a Raspberry Pi Zero 2 W? I'm asking because despite my numerous attempts it amounted to a failure in using the WiFi and I haven't seen anyone doing so successfully yet.
Re:Alpine Linux does not make the news by DanielHB on Wednesday July 26, 2023 @05:09AM (#36874899)
wait you can actually use alpine in a workstation? I thought it was just for containers

*cue to angry linux mob attacking me

Although I do have to say that almost all downsides of alpine are not really relevant in the context of containers

Re:Alpine Linux does not make the news by greguu on Wednesday July 26, 2023 @05:22AM (#36874978)
As a long time Alpine user (bare metal, laptop, pi, servers) I can praise the low memory footprint, simple and consistent configuration and up-to-date packages.

Alpine runs great on older hardware. Things that bugged me over the years are the lack of armv5 support (understandably an architecture that is dying) and that their native firewall awall is somewhat limited. Despite being a pleasure to use awall with iptables, it is not capable of nftables exclusive features (eg cake) as far as I understand, yet.

The lack of obscure packages in Alpines repositories is not really an issue in my scenario. Or compiling against musl. Neither is the mentioned DNS over TCP issue.

Using wlroots and sway is a breeze on Alpine and having moved from gentoo > arch > alpine over the years, I am glad Alpine exists. Second choice for me is Void Linux musl and their optional armv5 support via xbps-src.

I hope Alpine will stick around and is not only known to be slim in docker containers.

Re:Alpine Linux does not make the news by LinuxBender on Wednesday July 26, 2023 @09:44AM (#36877599)
FWIW they fixed the DNS over TCP issue. [1] The only DNS issue I've run into is a lack of IPv4/IPv6 DNS lookup ordering preference like glibc's /etc/gai.conf. Useful in data-centers where 100% of lookups on specific nodes/roles are and always will be IPv4

I too use Alpine on just about everything. I'm happy with it. I do wish it would keep one old kernel around after upgrades but I worked around that.

[1] - https://www.theregister.com/2023/05/16/alpine_linux_318/