User:Michich/systemd handbook

From FedoraProject

< User:Michich(Difference between revisions)
Jump to: navigation, search
(usage, detailed)
(diagnosing problems)
Line 19: Line 19:
  
 
== diagnosing problems ==
 
== diagnosing problems ==
 +
* common issues
 +
* increasing verbosity
 +
* log targets
 +
* early shell
 +
* kbrequest
 +
* startup, shutdown
 +
 
= for developers =
 
= for developers =
 
== writing units ==
 
== writing units ==

Revision as of 09:49, 11 May 2012

Contents

introduction

quickstart, cheat sheet

for users

theory of operation

  • initial system setup, manager loop
  • units
    • types
  • jobs
    • types, transactions, installed jobs
  • dependencies
    • ordering
    • requirement

usage, detailed

  • everything about systemctl
  • systemd-cgls
  • systemd-analyze
  • separately? journalctl, loginctl, systemd-nspawn

diagnosing problems

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

for developers

writing units

  • organization of manpages: systemd.unit, systemd.exec, systemd.service, ...

patching daemons

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