r/AlpineLinux • • Dec 07 '23

Alpine Linux 3.19.0 Released

27 Upvotes

Alpine Linux 3.19

Highlights

  • Linux kernel 6.6

  • GCC 13.2

  • Perl 5.38

  • LLVM 17

  • Xen 4.18

  • PostgreSQL 16

  • Node.js (lts) 20.10

  • Ceph 18.2

  • GNOME 45

  • Go 1.21

  • KDE Applications 23.08 / KDE Frameworks 5.112

  • OpenJDK 21

  • PHP 8.3

  • Rust 1.72

Significant changes

Support for Raspberry Pi 5 was added.

Upgrade notes

As always, make sure to use apk upgrade --available when switching between major versions.

  • openrc has removed the deprecated /sbin/rc binary. Make sure your /etc/inittab uses /sbin/openrc.

  • iptables-nft is now the default iptables backend.

  • linux-rpi4 and linux-rpi2 kernels have been replaced by a single linux-rpi

  • yggdrasil was upgraded to 0.5 and the new routing scheme is incompatible with previous versions.

  • Python’s package directory is now marked as externally managed, which means that pip can no longer install to system directory which is managed by apk. Users may use pipx instead.


r/AlpineLinux • • May 24 '22

Alpine 3.16.0 released

27 Upvotes

r/AlpineLinux • • Jan 15 '21

The Alpine Linux development team announced the latest stable release of Alpine Linux 3.13.0. Here is how to upgrade to Alpine Linux 3.13 from Alpine Linux 3.12 and older versions.

Thumbnail
ostechnix.com
27 Upvotes

r/AlpineLinux • • Sep 26 '26

When is dinit coming to alpine?

Post image
26 Upvotes

I don't think this is as necessary but it's a great thing to have and mention no? From my past experience dinit is the fastest init I've ever used, it's simple and cheap to run. While dinit is available on the repository it's a manual configuration, you have to set it up one by one to boot up your system. What I imagine is a automated dinit setup so it can change openrc without messing with manual install or a native dinit from the installer(iso file) like other distros, I mean putting a dinit option for alpine Linux is revolutionary. Therefore, a dinit version of alpine will be a great choice that company openrc version. Making it much faster, cheaper, modern, and a substitute for Chimera Linux.


r/AlpineLinux • • Jul 12 '26

A catppuccin mocha oxwm rice for alpone

Thumbnail
gallery
26 Upvotes

r/AlpineLinux • • Dec 08 '23

Discovering Alpine Linux

Post image
26 Upvotes

Quite an interesting experience. Install a distribution not intended for desktop as a desktop. On weak hardware (see photo) it works quite fast.


r/AlpineLinux • • May 10 '23

Alpine Linus 3.18 released (with support TCP in DNS)

26 Upvotes

https://alpinelinux.org/posts/Alpine-3.18.0-released.html

Highlights

  • Linux kernel 6.1 – with signed kernel modules

  • musl libc 1.2.4 – now with TCP fallback in DNS resolver

  • Python 3.11

  • Ruby 3.2

  • Node.js (current) 20.1

  • GNOME 44

  • Go 1.20

  • KDE Plasma 5.27

  • Rust 1.69

  • Experimental support for unattended installs via tiny-cloud


r/AlpineLinux • • Aug 19 '22

A MASSIVE thank you to the Alpine makers/maintainers/community

26 Upvotes

Thank you for making the best distro ever which is like Arch but SO much easier and better. Been using it for a week now and I'm stunned just by how light and smooth it is. Flatpak takes case of all my needs for gaming and apps in general and I'm simply amazed by why not so many people use this amazing distributions as a daily driver.

Keep up the awesome work! :)


r/AlpineLinux • • Aug 23 '26

Alpine is apparently not just a container distro AND it supports i686! <3

Post image
25 Upvotes

r/AlpineLinux • • Apr 19 '26

Hello 👋 Alpine Mobile

25 Upvotes

Hello 👋

I'm proud to join this subredits. I'm new here but I heard it's a great community so as my first attempt I'm going to try to install Alpine on my Android cellphone since I don't have access to a PC or laptop. (I'm paralyzed, bte)

With some work and luck I will update this thread. In the meantime I just wanted to introduce myself and will participate here as much as I can. Thank you and wish me luck!

Your friend til the end,

Glen


r/AlpineLinux • • Dec 15 '25

New to Alpine Linux

25 Upvotes

Hi everyone. I'm a long time Linux user but new to Alpine and I love it. I'm running the XFCE desktop in a wayland session with Wayfire as the compositor. I started experimenting because I was curious how linux would be without the GNU coreutils.


r/AlpineLinux • • Feb 21 '25

I created a single file Alpine distribution in 35Mb for system recovery purposes

25 Upvotes

I was tired of having to search for a USB drive every time I mess something with my computer so I decided to create this small EFI file that can be put in your efi partition to boot from it. It has everything you should ever need to mount your filesystem and chroot to it so you can fix it.

I would appreciate feedback and ideas to make it better.

https://github.com/hugochinchilla/lifeboat_linux


r/AlpineLinux • • Jan 20 '21

I have come back! Running Alpine on my main rig. (Switched from Gentoo)

Post image
25 Upvotes

r/AlpineLinux • • Sep 26 '26

Am thinking about switch from mint to alpine what should i know firts?

24 Upvotes

So i saw a video about how a guy downloaded and run alpine, and i tough to myself "What if i will swicth to alpine, like i can use the Wikipedia to download the distro, sooo what do you guys think.

I use a low end computer levovo computer for 2014 and it used to have 2 gigs of tam but i changed it to 4 by myself.

And am a 15 year old

And i know how to boot a laptop of course.


r/AlpineLinux • • May 09 '26

alpine [dwm]

Thumbnail gallery
24 Upvotes

r/AlpineLinux • • Feb 09 '26

What made you use Alpine?

Post image
24 Upvotes

r/AlpineLinux • • 24d ago

*sshhole primarily impacts Alpine's aws/azure images, not hosts installed with setup-alpine or Alpine Docker containers

23 Upvotes

I want to first emphasize that it is a real bug and may deserve critical severity for Alpine AWS/Azure images. Also, the https://sshhole.com/ is very good at showing the history of this problem and also explaining how and why the flaw can be exploited.

My company has some Alpine exposure, so I looked into this. We only have Alpine VMs installed using the extended image's setup-alpine script. In addition, we use some containers that are based on Alpine images. The conclusion of my analysis is relieving, so I wanted to share this.

Alpine in VMs (installed with setup-alpine)

Tested: Alpine 3.20.3 (2024) and Alpine 3.16 (2016)

  1. The setup-alpine script asks for a password for root. You can enter an empty password but it will put a real hash in /etc/shadow, not *. So, the root account is not affected unless you manually change it to *, probably also if you entered a password longer than 256 characters when creating the account (unlikely).

  2. A seperate ordinary user can be created too but this is non-default and empty passwords produce real hashes just as before.

  3. By default, the openssh server is installed and starts at boot with password logins enabled, but the default configuration contains PermitRootLogin prohibit-password which protects root.

  4. Adding another user without assigning a password with adduser -D puts a ! not a * in /etc/shadow.

TL;DR: The setup-alpine script does not create users with * in /etc/shadow and root is additionally protected by PermitRootLogin prohibit-password. If you created users without passwords manually, you should check anyway.

Alpine in Docker containers

Tested: alpine:3.16, alpine:3.20.3, alpine:3.21.1

  1. These images have root:*::0::::: in /etc/shadow, so the root account could be attacked.

  2. No ssh daemon is installed in these images by default.

  3. Installing openssh with apk add openssh does not start or enable the ssh daemon.

  4. You cannot start sshd by accident because rc-update isn't there and /etc/init.d/sshd doesn't run because openrc-run isn't there, and starting sshd by itself fails with no hostkeys available. Normally, the init service would take care of that.

  5. Openssh's PermitRootLogin prohibit-password setting was already the default with alpine 3.16. Even if you manage to start sshd, the root account is protected.

  6. Remote access is only possible if you forward port 22.

TL;DR: A lot must go wrong before an alpine container is impacted. If you created users without passwords manually and expose an ssh server in an alpine container, you should check anyway.

Conclusion

In conclusion, VMs installed with setup-alpine lack the asterisk in the shadow file needed by this exploit and alpine images lack the ssh server. They have the potentially unsafe root user config in the shadow file but ssh root logins are by default blocked by PermitRootLogin prohibit-password.

The website itself says almost at the end:

on alpine's official aws and azure images that's the default alpine user, and it has passwordless doas. so it's root

I didn't test these images because we don't have aws or azure. But it makes clear what is needed to exploit this:

  • The flaw in default config and musl (bug)...

  • together with a seperate (non-root) user with no password grants RCE,

  • and together with passwordless doas it grants RCE with elevated privileges.

While this is a real security flaw, especially in the aws and azure images, my opinion is that this is a setup that is very unlikely to be reached in a host/VM installed with setup-alpine or in a docker container if you follow basic security principles.

I just noticed I always wrote "VMs" but this obviously also applies when installing Alpine bare metal.

Have you found any real-world impact outside the aws/azure images?

cheers

Edit: most of what I listed is also in Alpine's security advisory (check it out!), so I should've checked that source before writing all this. I mostly got my info from the sshhole website and one or two other news sites. They have a nice "Who is not affected?" list:

Who is not affected?
* Docker and other container users that do not run sshd in the container.
* Systems with PasswordAuthentication no.
* Systems using openssh-server-pam with UsePAM yes (with UsePAM no you are affected).
* Locked accounts: those with ! as the password field in /etc/shadow (a line starting user:!:). They cannot log in with a password or a key.
* Systems where no account has a $-style password hash.
* Cloud images configured through cloud-init, which writes PasswordAuthentication no.

The root user being protected by prohibit-password is missing on that list but they mention it earlier.


r/AlpineLinux • • Aug 10 '26

Alpine with Desktop Tweaks + SwayWM Red Sci-Fi Rice

Post image
23 Upvotes

Sorry for Post Directly on Alpine Reddit instead r/unixporn, it's because im new in reddit network and i still dont't have permission to share prints.


r/AlpineLinux • • May 26 '26

Switching to Alpine from Void, any benefits?

23 Upvotes

Hello,

I have for a long time been an OpenBSD and Void Linux user.

Would like to know if there is anything new to be found in Alpine Linux.

Cheers -- zen


r/AlpineLinux • • Feb 08 '26

Alpine on a Chromebook

23 Upvotes

Debian was using an "intolerable" 700 MB RAM, and 9 GB storage space, so I switched my ASUS Chromebook, which I don't use too often, to Alpine. I've never customized Xfce this much, but I must say, I'm really happy with the result. I found this KDE 6.6 wallpaper on reddit.


r/AlpineLinux • • Jun 05 '25

This is a May arm computer

Post image
23 Upvotes

I bought it on the secondary market for $ 30, but there is no name


r/AlpineLinux • • Jan 09 '25

Excited new user

23 Upvotes

So I just installed Alpine in a virtual machine and WOW! It is so light, using so few resources. I added KDE on top and the install was only 2.5GB max. I was able to config it using setup-alpine in about 2 minutes. Installed docker and had multiple containers spun up in about 10 minutes and they were running lean and fast. I have to say I’m a convert.

My plan now is to replace my Ubuntu server with Alpine and docker to really turbo charge my home lab. I’ve got an i7 9700 with a 500GB nvme and 64GB RAM that I’m using for my server, so I’m excited to see what it can do with with more resources.

Super excited to be part of the community!


r/AlpineLinux • • May 20 '22

Any Alpine-based full-desktop distro?

23 Upvotes

I really enjoy Alpine Linux and run it everywhere I can, including my servers (more stable than Debian!). I always wished to run it as my daily driver, but never actually tried to set it up that way. Instructions tutorial on this is also welcome.

EDIT: Thank you for your valuable input. I can definitely combine the knowledge gained here to set it up on my own, without fear, knowing that so many of you actually have it as a daily driver.


r/AlpineLinux • • Feb 08 '22

Alpine, Arch, or both?

23 Upvotes

I currently use Arch because of how light it is, but now I am looking at Alpine. I'm debating between Arch, Alpine, or a dual-boot. My main problem is I don't want to go through the installation again, but I also have only 32 gigs of storage. Any thoughts?