From Fedora Project Wiki
(separate journal, login, nspawn chapters)
Line 1: Line 1:
= introduction =
= introduction =
= quickstart, cheat sheet =
= quickstart, cheat sheet =
= for users =
= systemd for users =
== theory of operation ==
== theory of operation ==
* initial system setup, manager loop
* initial system setup, manager loop
Line 19: Line 19:
* systemd-cgls
* systemd-cgls
* systemd-analyze
* systemd-analyze
* separately? journalctl, loginctl, systemd-nspawn


== diagnosing problems ==
== diagnosing problems ==
Line 29: Line 28:
* startup, shutdown
* startup, shutdown


= for developers =
= systemd for developers =
== writing units ==
== writing units ==
* organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
* organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
* good practices, note some bad ones
* good practices, note some bad ones
* systemd-tmpfiles, ...


== patching daemons ==
== patching daemons ==
Line 39: Line 39:
* sd_listen_fds()
* sd_listen_fds()
* password agent
* password agent
= the journal =
* what it is, how it works
* journalctl
= logind =
* what it is, how it works
* loginctl
= systemd-nspawn =
* example usage

Revision as of 10:11, 11 May 2012

introduction

quickstart, cheat sheet

systemd for users

theory of operation

  • initial system setup, manager loop
  • units
    • their types
    • dependencies
      • ordering
      • requirement
  • jobs
    • types, transactions, installed jobs
  • cgroups
  • socket activation

usage, detailed

  • everything about systemctl
  • overriding units, .include
  • systemd-cgls
  • systemd-analyze

diagnosing problems

  • common issues
  • increasing verbosity
  • log targets
  • early shell
  • kbrequest
  • startup, shutdown

systemd for developers

writing units

  • organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
  • good practices, note some bad ones
  • systemd-tmpfiles, ...

patching daemons

  • racy fork+exit
  • sd_notify()
  • sd_listen_fds()
  • password agent

the journal

  • what it is, how it works
  • journalctl

logind

  • what it is, how it works
  • loginctl

systemd-nspawn

  • example usage