We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Debug your stage-1 systemd with GDB and the NixOS test framework

Formal Metadata

Title
Debug your stage-1 systemd with GDB and the NixOS test framework
Title of Series
Number of Parts
798
Author
Contributors
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
GDB is an amazing tool to debug ELF programs, but some of them are more challenging to debug than others. Systemd can be used as an implementation of the initrd, and in that case is run as PID 1 even before your system is finished booting. This talk will describe the process of debugging a crashing systemd in initrd using gdbserver running as the init script, gdb and the NixOS test framework.