Planet Arch Linux & News
728 subscribers
230 links
Planet Arch Linux is a window into the world, work and lives of Arch Linux hackers and developers.
Also we have the latest news from the Arch Linux development staff.

Recently updated packages: @archlinux_updates

Inline ArchWiki search: @archewikibot
Download Telegram
Building vagrant images with mkosi

Last FOSDEM, there where some talks around mkosi using it for kernel hacking and systemd integration tests. These talks got me interested in mkosi, a systemd project for building OS images. After chatting some more with the maintainers, I considered the idea of moving the arch-boxes project to mkosi. (note …

https://vdwaa.nl/mkosi-vagrant-images.html

#planetarch
πŸ‘Ž1
Investigating creating reproducible images with mkosi

I've blogged before about creating vagrant images using mkosi as part of an investigation to move image creation to mkosi but also as I will be giving a talk at All Systems Go about Arch Linux images mkosi and reproducibility. With reproducible images in this article I mean that anyone …

https://vdwaa.nl/mkosi-reproducible-images.html

#planetarch
πŸ‘2
Deleting emails will not save the planet

A while ago I saw a post on LinkedIn that piqued my interest, not because it was any good, but because it was impressively wrong. It claimed that, to quote, β€œif every email user deleted just 10 emails, it would save enough electricity to power millions of households each year”. This is not only wrong, it is obviously wrong. In this post, I’d like to dive into why it’s wrong, how one might come to think it’s right, and perhaps what better message you could put out there to save the planet.

https://bertptrs.nl/2024/08/24/deleting-emails-will-not-save-the-planet.html

#planetarch
πŸ‘3
SSH CA with device and identity attestation: ssh-tpm-ca-authority

The past year I have been hacking around on tools utilizing TPMs, and one of the features I have been interested to learn more about is the device attestation features. After being a bit inspired by some ideas from people at work, the hackerspace and toots on mastodon, I figure out a SSH certificate authority would be a cool small project to hack on. Last year I wrote an SSH agent with TPM bound keys so this would nicely fit into the existing tooling.

https://linderud.dev/blog/ssh-ca-with-device-and-identity-attestation-ssh-tpm-ca-authority/

#planetarch
πŸ‘1
Reproducible Arch images with mkosi

In the previous article I investigated how to create a reproducible image but ended up with only managing to create two identical image directories. In this article we'll end up with a fully bit-by-bit reproducible filesystem image! Some things have changed since the last post, mkosi now no longer creates …

https://vdwaa.nl/mkosi-reproducible-arch-images.html

#planetarch
πŸ‘2
Why I started livestreaming as a Rust developer?

Some thoughts on why I started livestreaming my open-source development sessions and my future plans.

https://blog.orhun.dev/livestreaming/

#planetarch
πŸ‘2😁2πŸ€“1
Manual intervention for pacman 7.0.0 and local repositories required

With the release of version 7.0.0 pacman has added support for downloading packages as a separate user with dropped privileges.

For users with local repos however this might imply that the download user does not have access to the files in question, which can be fixed by assigning the files and folder to the alpm group and ensuring the executable bit (+x) is set on the folders in question.

$ chown :alpm -R /path/to/local/repo


Remember to merge the .pacnew files to apply the new default.

Pacman also introduced a change to improve checksum stability for git repos that utilize .gitattributes files. This might require a one-time checksum change for PKGBUILDs that use git sources.

https://archlinux.org/news/manual-intervention-for-pacman-700-and-local-repositories-required/

#news
πŸ‘8❀1πŸ€”1
Optimized cloud-init template on Proxmox

There are already quite a few resources out there demonstrating how to create a cloud-init enabled VM template in Proxmox. Here are the ones I mainly used to discover the topic, and which I suggest you go through because what follows depends on them:

Proxmox [wiki](https://pve.proxmox.com/wiki/Cloud-Init_Support) and [official documentation](https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_cloud_init) on Cloud-Init support
Perfect Proxmox Template with Cloud Image and Cloud Init (YouTube, Techno Tim 2022-03)

What those and many similar resources give are step-by-step instructions divided in as many commands to facilitate understanding. What I haven’t seen so far though, is an all-in-one, optimized command to do the same thing, …

https://bastientraverse.com/en/proxmox-optimized-cloud-init-template/

#planetarch
πŸ‘1
Facts

A collection of facts about yours truly. Guaranteed to be as accurate as my memory.

https://serebit.dev/posts/facts/

#planetarch
πŸ‘1
Can't trust any VPN these days

After Turkey banned Discord, I had to jump through some hoops, fix my VPN, and learn a bit about how DNS works.

https://blog.orhun.dev/cant-trust-any-vpn/

#planetarch
πŸ‘4
Providing a license for package sources

Arch Linux hasn't had a license for any package sources (such as PKGBUILD files) in the past, which is potentially problematic. Providing a license will preempt that uncertainty.

In RFC 40 we agreed to change all package sources to be licensed under the very liberal 0BSD license. This change will not limit what you can do with package sources. Check out the RFC for more on the rationale and prior discussion.

Before we make this change, we will provide contributors with a way to voice any objections they might have. Starting on 2024-11-19, over the course of a week, contributors will receive a single notification email listing all their contributions.

If you receive an email and agree to this change, there is no action required from your side.
If you do not agree, please reply to the email and we'll find a solution together.

If you contributed to Arch Linux packages before but didn't receive an email, please contact us at package-sources-licensing@archlinux.org.

https://archlinux.org/news/providing-a-license-for-package-sources/

#news
πŸŽ‰7πŸ‘2❀1
How I set up this blog

Like my blog? Here is how I set it up.

https://blog.orhun.dev/setting-up-this-blog/

#planetarch
πŸ‘2
Goodbye, Sam

A eulogy for the greatest dog of all, and a friend I will never forget.

https://serebit.dev/posts/merry-christmas-sam/

#planetarch
❀13πŸ’”5🀑2
2024 wrapped

Dear blog. This post is inspired by an old friend of mine who has been writing these for the past few years. I meant to do this for a while now, but ended up not preparing anything, so this post is me writing it from memory. There’s likely stuff I forgot, me being gentle with myself I’ll probably just permit myself to complete this list the next couple of days. I hate bragging, I try to not depend on external validation as much as possible, and being the anti-capitalist that I am, I try to be content with knowing I’m …

https://vulns.xyz/2024/12/2024-wrapped/

#planetarch
πŸ”₯4πŸ‘4
Critical rsync security release 3.4.0

We'd like to raise awareness about the rsync security release version 3.4.0-1 as described in our advisory ASA-202501-1.

An attacker only requires anonymous read access to a vulnerable rsync server, such as a public mirror, to execute arbitrary code on the machine the server is running on. Additionally, attackers can take control of an affected server and read/write arbitrary files of any connected client. Sensitive data can be extracted, such as OpenPGP and SSH keys, and malicious code can be executed by overwriting files such as ~/.bashrc or ~/.popt.

We highly advise anyone who runs an rsync daemon or client prior to version 3.4.0-1 to upgrade and reboot their systems immediately. As Arch Linux mirrors are mostly synchronized using rsync, we highly advise any mirror administrator to act immediately, even though the hosted package files themselves are cryptographically signed.

All infrastructure servers and mirrors maintained by Arch Linux have already been updated.

https://archlinux.org/news/critical-rsync-security-release-340/

#news
🀯3😭2πŸ‘€1
Glibc 2.41 corrupting Discord installation

We plan to move glibc and its friends to stable later today, Feb 3. After installing the update, the Discord client will show a red warning that the installation is corrupt.

This issue has been fixed in the Discord canary build. If you rely on audio connectivity, please use the canary build, login via browser or the flatpak version until the fix hits the stable Discord release.

There have been no reports that (written) chat connectivity is affected.

https://archlinux.org/news/glibc-241-corrupting-discord-installation/

#news
Infrastructure as Advent of Code

In the cold of December we have but one thing to keep us warm: our laptops, trying to solve Advent of Code puzzles with inefficient algorithms. This year, 2024, is the tenth edition, and the puzzles are filled with more Easter eggs than ever before. Unfortunately, I’m not interested in Easter eggs, or solving the puzzles. I am a DevOps engineer, and I’m going to apply Infrastructure as Code principles to Advent of Code.

https://bertptrs.nl/2025/02/04/infrastructure-as-advent-of-code.html

#planetarch
πŸ€”1πŸ‘¨β€πŸ’»1
Cleaning up old repositories

Around two years ago, we've merged the [community] repository into [extra] as part of the git migration. In order to not break user setups, we kept these repositories around in an unused and empty state. We're going to clean up these old repositories on 2025-03-01.

On systems where /etc/pacman.conf still references the old [community] repository, pacman -Sy will return an error on trying to sync repository metadata.

The following deprecated repositories will be removed: [community], [community-testing], [testing], [testing-debug], [staging], [staging-debug].

Please make sure to remove all use of the aforementioned repositories from your /etc/pacman.conf (for which a .pacnew was shipped with pacman>=6.0.2-7)!

https://archlinux.org/news/cleaning-up-old-repositories/

#news
🫑5πŸ‘3
Rust edition 2024 annotated

Last Thursday Rust 1.85 was released, and with it, edition 2024 has dropped. The new edition is significantly larger than the two editions that preceded it, and contains many small but significant quality of life improvements to the language. In this post, I’d like to explain what an edition is, and summarize all the changes that were made to the language I love. If you need the details, I recommend reading the edition guide, but for a general overview, read on.

https://bertptrs.nl/2025/02/23/rust-edition-2024-annotated.html

#planetarch
πŸŽ‰5
Valkey to replace Redis in the [extra] Repository

Valkey, a high-performance key/value datastore, will be replacing redis in the [extra\] repository. This change is due to Redis modifying its license from BSD-3-Clause to RSALv2 and SSPLv1 on March 20th, 2024.

Arch Linux Package Maintainers intend to support the availability of the redis package for roughly 14 days from the day of this post, to enable a smooth transition to valkey. After the 14 day transition period has ended, the redis package will be moved to the AUR. Also, from this point forward, the redis package will not receive any additional updates and should be considered deprecated until it is removed.

Users are recommended to begin transitioning their use of Redis to Valkey as soon as possible to avoid possible complications after the 14 day transition window closes.

https://archlinux.org/news/valkey-to-replace-redis-in-the-extra-repository/

#news
❀2πŸ‘1😴1
Easter hack: terraform-provider-openwrt

April is usualy tax season for most people in Norway, and as I got some β€œmoney back on the skΓ¦tt” I wound up purchasing an OpenWrt One to replace my 13-14 year old Asus router. I’ve been meaning to learn a bit more about networking in general and getting an OpenWrt router seemed like a fun project. Last year I bought a Beryl AX from GL-Inet as I was travelling for a few weeks.

https://linderud.dev/blog/easter-hack-terraform-provider-openwrt/

#planetarch
πŸ‘3