2023/02/03 Chimera Linux @ FOSDEM 2024 1
2023 in Chimera Linux
2023/02/03 Chimera Linux @ FOSDEM 2024 2
Overview
●
General-purpose Linux distribution
●
Built from scratch with broad focus
●
Based on FreeBSD core tools, musl, and LLVM
●
Hardened (more than most)
●
Portable (aarch64, ppc64le, ppc64, riscv64, x86_64)
2023/02/03 Chimera Linux @ FOSDEM 2024 3
Overview
●
Binary packaging (apk-tools), rolling release
●
Custom-built source packaging infra (cports)
●
Lightweight and pragmatic, but also versatile
●
Not trying to be like anything else
●
No systemd, but not militant about it
2023/02/03 Chimera Linux @ FOSDEM 2024 4
Why?
●
Make a well-rounded system I’d enjoy using
●
Make proper use of LLVM (e.g. security hardening)
●
Improve software I’m unhappy with
●
Focus on robustness, determinism, and good defaults
●
Have some fun doing all that
2023/02/03 Chimera Linux @ FOSDEM 2024 5
Core tenets
●
Purity is counter-productive and makes things worse
●
“Minimalism” doesn’t actually mean anything
●
Simple > complex, but complex > complicated
●
Opinionated = good, but dogmatic = bad
●
Good software design is key
2023/02/03 Chimera Linux @ FOSDEM 2024 6
Core tenets
●
Inclusive, open, accessible
●
It’s free software
●
It’s important to have fun
●
Reactionaries ruin everything, so keep them out
●
Otherwise, almost anything goes
2023/02/03 Chimera Linux @ FOSDEM 2024 7
System design
●
Always be strict by default
●
There should be a good, obvious way to do things
●
Portability > security > benchmarks
●
Self-sustaining, transparent tooling
●
Flexible, retargetable infrastructure
2023/02/03 Chimera Linux @ FOSDEM 2024 8
System design
●
Atomicity and determinism
●
It should usually not be written in shell
●
Encourage doing good
●
Always improve, nothing is good enough
●
Systemd is not the devil, no shame in inspiration
2023/02/03 Chimera Linux @ FOSDEM 2024 9
Packaging infrastructure
●
Custom system (cports)
●
Written in Python
●
Sandboxed, fast, and easy to use
●
Optimized to minimize effort needed for small teams
●
Easy to add new packages
2023/02/03 Chimera Linux @ FOSDEM 2024 10
Cports templates in 2023-now
0
200
400
600
800
1000
1200
1400
1600
2023/02/03 Chimera Linux @ FOSDEM 2024 11
Cports commits in 2023-now
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
2023/02/03 Chimera Linux @ FOSDEM 2024 12
Cports authors in 2023-now
0
5
10
15
20
25
30
35
40
45
50
2023/02/03 Chimera Linux @ FOSDEM 2024 13
Alpha “release”
●
The project is now ready to take on adventurous users
●
Repositories receiving major expansion
●
The system is usable as a daily driver
●
Still plenty more work to be done in all areas
●
Add what you like to the repos
2023/02/03 Chimera Linux @ FOSDEM 2024 14
Major software packaged
●
All big open source web browsers present:
– Firefox, Chromium, GNOME Web
●
Container infrastructure
– Podman, Docker, containerd, and related
●
LibreOffice
2023/02/03 Chimera Linux @ FOSDEM 2024 15
Major software packaged
●
Qt6
●
OpenJDK 17
●
GIMP, Inkscape, Thunderbird, QEMU, etc.
●
Various popular software, from neovim to emacs and sway
●
Flatpak support
2023/02/03 Chimera Linux @ FOSDEM 2024 16
Toolchain changes
●
LLVM 17
●
-fno-semantic-interposition by default
●
-ftrivial-auto-var-init=zero by default
●
Hardened libc++, expanded _FORTIFY_SOURCE
●
-z pack-relative-relocs for smaller executables
2023/02/03 Chimera Linux @ FOSDEM 2024 17
Infrastructure update
●
Buildbot
– Packages are now built automatically for all architectures as
soon as changes reach the cports Git repo
– Build servers for aarch64, ppc64le, ppc64, riscv64, x86_64
●
Fancy package browser at pkgs.chimera-linux.org
2023/02/03 Chimera Linux @ FOSDEM 2024 18
Low level userland changes
●
Initial API for our Turnstile session tracker
●
Userland based on FreeBSD 14
●
Systemd-udev in place of eudev
●
Adoption of systemd-tmpfiles and systemd-sysusers
●
Systemd-compatible binfmt support
2023/02/03 Chimera Linux @ FOSDEM 2024 19
Service management
●
Preparing for adoption of dbus-broker
– Fully service-driven dbus activation (supervised)
●
Libdinitctl
– An API to interact with Dinit from C and over D-Bus
– To be used in various other places
2023/02/03 Chimera Linux @ FOSDEM 2024 20
Service management
●
New service targets (e.g. for firewalls and time-sync)
●
Early services overhaul
– Various new helpers, e.g. for swclock, swap, sysctl
●
Improved support for read-only root
●
Countless minor quality-of-life improvements
2023/02/03 Chimera Linux @ FOSDEM 2024 21
Hardware support
2023/02/03 Chimera Linux @ FOSDEM 2024 22
Hardware support
●
LTS kernel 6.6 and stable kernel 6.7
●
Raspberry Pi 5 support (unified image 3/4/5)
●
Steam Deck support (incl. OLED)
●
Big endian ppc64 repos introduced (G5+)
●
Ampere Altra amdgpu support out of the box
2023/02/03 Chimera Linux @ FOSDEM 2024 23
Conclusion
●
A good, productive year
●
Beta release possibly in late spring/summer
●
Upcoming focus is service mgmt, session tracking
– And getting rid of elogind if we can
●
And also package management
2023/02/03 Chimera Linux @ FOSDEM 2024 24
Thanks for listening!
●
https://chimera-linux.org
●
https://github.com/chimera-linux
●
https://floss.social/@chimera_linux
●
#chimera-linux @ OFTC (irc.oftc.net)
●
#chimera-linux:matrix.org

2023 in Chimera Linux

  • 1.
    2023/02/03 Chimera Linux@ FOSDEM 2024 1 2023 in Chimera Linux
  • 2.
    2023/02/03 Chimera Linux@ FOSDEM 2024 2 Overview ● General-purpose Linux distribution ● Built from scratch with broad focus ● Based on FreeBSD core tools, musl, and LLVM ● Hardened (more than most) ● Portable (aarch64, ppc64le, ppc64, riscv64, x86_64)
  • 3.
    2023/02/03 Chimera Linux@ FOSDEM 2024 3 Overview ● Binary packaging (apk-tools), rolling release ● Custom-built source packaging infra (cports) ● Lightweight and pragmatic, but also versatile ● Not trying to be like anything else ● No systemd, but not militant about it
  • 4.
    2023/02/03 Chimera Linux@ FOSDEM 2024 4 Why? ● Make a well-rounded system I’d enjoy using ● Make proper use of LLVM (e.g. security hardening) ● Improve software I’m unhappy with ● Focus on robustness, determinism, and good defaults ● Have some fun doing all that
  • 5.
    2023/02/03 Chimera Linux@ FOSDEM 2024 5 Core tenets ● Purity is counter-productive and makes things worse ● “Minimalism” doesn’t actually mean anything ● Simple > complex, but complex > complicated ● Opinionated = good, but dogmatic = bad ● Good software design is key
  • 6.
    2023/02/03 Chimera Linux@ FOSDEM 2024 6 Core tenets ● Inclusive, open, accessible ● It’s free software ● It’s important to have fun ● Reactionaries ruin everything, so keep them out ● Otherwise, almost anything goes
  • 7.
    2023/02/03 Chimera Linux@ FOSDEM 2024 7 System design ● Always be strict by default ● There should be a good, obvious way to do things ● Portability > security > benchmarks ● Self-sustaining, transparent tooling ● Flexible, retargetable infrastructure
  • 8.
    2023/02/03 Chimera Linux@ FOSDEM 2024 8 System design ● Atomicity and determinism ● It should usually not be written in shell ● Encourage doing good ● Always improve, nothing is good enough ● Systemd is not the devil, no shame in inspiration
  • 9.
    2023/02/03 Chimera Linux@ FOSDEM 2024 9 Packaging infrastructure ● Custom system (cports) ● Written in Python ● Sandboxed, fast, and easy to use ● Optimized to minimize effort needed for small teams ● Easy to add new packages
  • 10.
    2023/02/03 Chimera Linux@ FOSDEM 2024 10 Cports templates in 2023-now 0 200 400 600 800 1000 1200 1400 1600
  • 11.
    2023/02/03 Chimera Linux@ FOSDEM 2024 11 Cports commits in 2023-now 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
  • 12.
    2023/02/03 Chimera Linux@ FOSDEM 2024 12 Cports authors in 2023-now 0 5 10 15 20 25 30 35 40 45 50
  • 13.
    2023/02/03 Chimera Linux@ FOSDEM 2024 13 Alpha “release” ● The project is now ready to take on adventurous users ● Repositories receiving major expansion ● The system is usable as a daily driver ● Still plenty more work to be done in all areas ● Add what you like to the repos
  • 14.
    2023/02/03 Chimera Linux@ FOSDEM 2024 14 Major software packaged ● All big open source web browsers present: – Firefox, Chromium, GNOME Web ● Container infrastructure – Podman, Docker, containerd, and related ● LibreOffice
  • 15.
    2023/02/03 Chimera Linux@ FOSDEM 2024 15 Major software packaged ● Qt6 ● OpenJDK 17 ● GIMP, Inkscape, Thunderbird, QEMU, etc. ● Various popular software, from neovim to emacs and sway ● Flatpak support
  • 16.
    2023/02/03 Chimera Linux@ FOSDEM 2024 16 Toolchain changes ● LLVM 17 ● -fno-semantic-interposition by default ● -ftrivial-auto-var-init=zero by default ● Hardened libc++, expanded _FORTIFY_SOURCE ● -z pack-relative-relocs for smaller executables
  • 17.
    2023/02/03 Chimera Linux@ FOSDEM 2024 17 Infrastructure update ● Buildbot – Packages are now built automatically for all architectures as soon as changes reach the cports Git repo – Build servers for aarch64, ppc64le, ppc64, riscv64, x86_64 ● Fancy package browser at pkgs.chimera-linux.org
  • 18.
    2023/02/03 Chimera Linux@ FOSDEM 2024 18 Low level userland changes ● Initial API for our Turnstile session tracker ● Userland based on FreeBSD 14 ● Systemd-udev in place of eudev ● Adoption of systemd-tmpfiles and systemd-sysusers ● Systemd-compatible binfmt support
  • 19.
    2023/02/03 Chimera Linux@ FOSDEM 2024 19 Service management ● Preparing for adoption of dbus-broker – Fully service-driven dbus activation (supervised) ● Libdinitctl – An API to interact with Dinit from C and over D-Bus – To be used in various other places
  • 20.
    2023/02/03 Chimera Linux@ FOSDEM 2024 20 Service management ● New service targets (e.g. for firewalls and time-sync) ● Early services overhaul – Various new helpers, e.g. for swclock, swap, sysctl ● Improved support for read-only root ● Countless minor quality-of-life improvements
  • 21.
    2023/02/03 Chimera Linux@ FOSDEM 2024 21 Hardware support
  • 22.
    2023/02/03 Chimera Linux@ FOSDEM 2024 22 Hardware support ● LTS kernel 6.6 and stable kernel 6.7 ● Raspberry Pi 5 support (unified image 3/4/5) ● Steam Deck support (incl. OLED) ● Big endian ppc64 repos introduced (G5+) ● Ampere Altra amdgpu support out of the box
  • 23.
    2023/02/03 Chimera Linux@ FOSDEM 2024 23 Conclusion ● A good, productive year ● Beta release possibly in late spring/summer ● Upcoming focus is service mgmt, session tracking – And getting rid of elogind if we can ● And also package management
  • 24.
    2023/02/03 Chimera Linux@ FOSDEM 2024 24 Thanks for listening! ● https://chimera-linux.org ● https://github.com/chimera-linux ● https://floss.social/@chimera_linux ● #chimera-linux @ OFTC (irc.oftc.net) ● #chimera-linux:matrix.org