]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: rework crash handling
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Sep 2015 21:13:06 +0000 (23:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 19:55:51 +0000 (21:55 +0200)
commitb9e74c399458a1146894ce371e7d85c60658110c
tree3592450b9930466a0e56d1289845c4de1b669394
parent3607810227b346ea151e4442579ea56b28043963
core: rework crash handling

This introduces a new systemd.crash_reboot=1 kernel command line option
that triggers a reboot after crashing.

This also cleans up crash VT handling. Specifically, it cleans up the
configuration setting, to be between 1..63 or a boolean. This is to
replace the previous logic where "-1" meant disabled. We continue to
accept that setting, but only document the boolean syntax instead.

This also brings the documentation of the default settings in sync with
what actually happens.

The CrashChVT= configuration file setting is renamed to CrashChangeVT=,
following our usual logic of not abbreviating unnecessarily. The old
setting stays support for compat reasons.

Fixes #1300
man/kernel-command-line.xml
man/systemd-system.conf.xml
man/systemd.xml
src/basic/terminal-util.c
src/core/main.c
src/core/shutdown.c
src/core/system.conf