From Fedora Project Wiki
Line 8: Line 8:
== Quick Debugging Tips ==
== Quick Debugging Tips ==


* add "systemd.log_target=kmsg" to the kernel command line to active logging to kernel buffer
* add "systemd.log_target=kmsg" to the kernel command line to let systemd buffer
* you can then run dmesg from the command line to inspect systemd output  
* to be written to the kernel log buffer to kernel buffer
* and or redirect it to file for later inspection or to use as an attachment to a bug report
* Run dmesg from the command line to inspect systemd output  
* run /bin/systemd --test --running-as=init to test systemd.
* Redirect dmesg ouput to a file for later inspection or to use as an attachment to a bug report
* run /bin/systemd --test --running-as=init from command line to test run init as systemd.

Revision as of 14:01, 22 June 2010

Systemd is a system and session manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit.

New Kernel Command Line Parameters

Read the # TODO Add link to upstream manpages or systemd option page.

Quick Debugging Tips

  • add "systemd.log_target=kmsg" to the kernel command line to let systemd buffer
  • to be written to the kernel log buffer to kernel buffer
  • Run dmesg from the command line to inspect systemd output
  • Redirect dmesg ouput to a file for later inspection or to use as an attachment to a bug report
  • run /bin/systemd --test --running-as=init from command line to test run init as systemd.