26 chapters · PDF + EPUB in production

systemd in Production

Service Management, Boot, Observability, and Image-Based Systems.

Coming soon

A production guide to the mechanisms behind systemd. The book follows one request through unit loading, dependency expansion, job execution, cgroup realization, readiness notification, supervision, and journal evidence. It then applies the same reasoning to boot, storage, networking, containers, and atomic image updates. Every claim is tied to a pinned upstream source tree, and a single small reference daemon carries from the first service chapter to the production capstone.

By Wolfgang Kerschbaumer

Status: all 26 chapters and 5 appendices are drafted and fact-checked (about 130,000 words). Verification and final editing are underway.

First edition ships DRM-free as PDF and EPUB, with free updates.

01 Contents

From one request to an image-based system.

Foundations, the service lifecycle, resources and isolation, observability, boot and storage, and networked, image-based systems. Expand a part to see its chapters.

Preface

What this book assumes, and how to read it

Part 1 Foundations 4 chapters
  • 1 Why systemd
  • 2 Inside the Managers
  • 3 Unit Files
  • 4 Dependencies and Transactions
Part 2 Service Lifecycle and Activation 6 chapters
  • 5 Service Types and Readiness
  • 6 Execution Context
  • 7 Failure and Recovery
  • 8 Socket Activation
  • 9 Timers, Paths, Devices, and Automounts
  • 10 Transient Units and Control APIs
Part 3 Resources, Isolation, and Identity 4 chapters
  • 11 Cgroups, Slices, and Scopes
  • 12 Service Sandboxing and Hardening
  • 13 Credentials and Secrets
  • 14 User Managers, Sessions, and Identity
Part 4 Observability and Reliability 4 chapters
  • 15 The Journal
  • 16 Diagnosing Units and Boot
  • 17 Failure Evidence and Memory Pressure
  • 18 A Production Service
Part 5 Boot, Devices, and Storage 4 chapters
  • 19 Boot and Shutdown
  • 20 udev and Device Management
  • 21 Mounts and Storage Assembly
  • 22 systemd-boot, UKIs, Secure Boot, and TPM2
Part 6 Networked and Image-Based Systems 4 chapters
  • 23 systemd-networkd
  • 24 Name Resolution, Time, and Host Configuration
  • 25 Containers, VMs, and Extension Images
  • 26 Image Lifecycle and Atomic Updates
Part 7 Appendices 5 appendices
  • A Migration from SysV, cron, and supervisor
  • B Troubleshooting Field Guide
  • C Unit Directives, Load Paths, and Public APIs
  • D Sources, Reproducibility, and Verification Baselines
  • E Glossary and Generated Subject Index
02 Who it's for

For engineers who operate services on Linux.

Written for practicing Linux, SRE, platform, security, and distribution engineers. It assumes shell comfort and ordinary processes, files, and networking. It does not assume you have read systemd source or memorized its directive catalog.

Written for
  • Engineers who run systemd-managed services and want to predict what the manager will do, and why.
  • Teams adopting sandboxing, cgroup resource control, TPM2-backed credentials, and socket or timer activation.
  • Builders of image-based Linux systems: systemd-boot, UKIs, sysext, and atomic updates with repart and sysupdate.

Coming soon.

The manuscript is written and the book is in production. Send us a short email and you will get one reply when it ships, with a sample chapter as soon as one is public.

First edition: DRM-free PDF + EPUB · free updates · published by Sysinit Press.

If you're running systemd-managed infrastructure, talk to us. We design and operate Linux platforms for a living.