Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 59) sorted by relevance

123

/systemd-251/src/core/
Demergency-action.c27 static void log_and_status(Manager *m, bool warn, const char *message, const char *reason) { in log_and_status() argument
28 log_full(warn ? LOG_WARNING : LOG_DEBUG, "%s: %s", message, reason); in log_and_status()
32 "%s: %s", message, reason); in log_and_status()
41 const char *reason) { in emergency_action() argument
63 log_warning("Watchdog disabled! Not acting on: %s", reason); in emergency_action()
72 log_and_status(m, warn, "Rebooting", reason); in emergency_action()
79 log_and_status(m, warn, "Forcibly rebooting", reason); in emergency_action()
87 log_and_status(m, warn, "Rebooting immediately", reason); in emergency_action()
107 log_and_status(m, warn, "Exiting", reason); in emergency_action()
116 log_and_status(m, warn, "Powering off", reason); in emergency_action()
[all …]
Demergency-action.h31 const char *reboot_arg, int exit_status, const char *reason);
Dmanager.h536 void manager_set_show_status(Manager *m, ShowStatus mode, const char *reason);
537 void manager_override_show_status(Manager *m, ShowStatus mode, const char *reason);
Dmanager.c202 static void manager_flip_auto_status(Manager *m, bool enable, const char *reason) { in manager_flip_auto_status() argument
207 manager_set_show_status(m, SHOW_STATUS_TEMPORARY, reason); in manager_flip_auto_status()
210 manager_set_show_status(m, SHOW_STATUS_AUTO, reason); in manager_flip_auto_status()
4007 void manager_set_show_status(Manager *m, ShowStatus mode, const char *reason) { in manager_set_show_status() argument
4009 assert(reason); in manager_set_show_status()
4025 reason); in manager_set_show_status()
4033 void manager_override_show_status(Manager *m, ShowStatus mode, const char *reason) { in manager_override_show_status() argument
4051 reason); in manager_override_show_status()
Dservice.c1739 static bool service_shall_restart(Service *s, const char **reason) { in service_shall_restart() argument
1744 *reason = "manual stop"; in service_shall_restart()
1750 *reason = "prevented by exit status"; in service_shall_restart()
1756 *reason = "forced by exit status"; in service_shall_restart()
1760 *reason = "restart setting"; in service_shall_restart()
1831 const char *reason; in service_enter_dead() local
1834 shall_restart = service_shall_restart(s, &reason); in service_enter_dead()
1837 reason); in service_enter_dead()
Dunit.c1791 const char *reason; in unit_test_start_limit() local
1803 reason = strjoina("unit ", u->id, " failed"); in unit_test_start_limit()
1807 u->reboot_arg, -1, reason); in unit_test_start_limit()
2630 const char *reason; in unit_notify() local
2742 reason = strjoina("unit ", u->id, " failed"); in unit_notify()
2743 …ergency_action(m, u->failure_action, 0, u->reboot_arg, unit_failure_action_exit_status(u), reason); in unit_notify()
2745 reason = strjoina("unit ", u->id, " succeeded"); in unit_notify()
2746 …ergency_action(m, u->success_action, 0, u->reboot_arg, unit_success_action_exit_status(u), reason); in unit_notify()
/systemd-251/src/login/
Dtest-inhibit.c16 const char *who = "Test Tool", *reason = "Just because!", *mode = "block"; in inhibit() local
27 "ssss", what, who, reason, mode); in inhibit()
/systemd-251/shell-completion/zsh/
D_systemd-inhibit33 '--why=[A descriptive string why is being inhibited]:reason for the lock:' \
/systemd-251/LICENSES/
DCC0-1.0.txt80 3. Public License Fallback. Should any part of the Waiver for any reason
94 reason be judged legally invalid or ineffective under applicable law, such
/systemd-251/po/
Dzh_TW.po469 msgid "Set the reboot \"reason\" in the kernel"
470 msgstr "設定內核中的重新啟動 \"reason (原因)\""
473 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
474 msgstr "設定內核中的重新啟動 \"reason (原因)\"需要身份驗證。"
Dhr.po531 msgid "Set the reboot \"reason\" in the kernel"
532 msgstr "Postavi \"reason\" ponovnog pokretanja u kernel"
535 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
537 "Potrebna je ovjera za postaviti \"reason\" ponovnog pokretanja u kernelu."
Dbe.po541 msgid "Set the reboot \"reason\" in the kernel"
545 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dka.po519 msgid "Set the reboot \"reason\" in the kernel"
523 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dkab.po469 msgid "Set the reboot \"reason\" in the kernel"
473 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dru.po589 msgid "Set the reboot \"reason\" in the kernel"
593 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dsystemd.pot465 msgid "Set the reboot \"reason\" in the kernel"
469 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dja.po511 msgid "Set the reboot \"reason\" in the kernel"
515 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dko.po500 msgid "Set the reboot \"reason\" in the kernel"
504 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dpa.po470 msgid "Set the reboot \"reason\" in the kernel"
474 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Dsi.po469 msgid "Set the reboot \"reason\" in the kernel"
473 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
Duk.po552 msgid "Set the reboot \"reason\" in the kernel"
556 msgid "Authentication is required to set the reboot \"reason\" in the kernel."
/systemd-251/docs/
DTESTING_WITH_SANITIZERS.md81 The reason why you need to force dynamic linking in case of `clang` is that some
/systemd-251/src/journal/
Djournalctl.c1519 const char *reason = (r == 0) ? "No such boot ID in journal" : strerror_safe(r); in add_boot() local
1523 arg_boot_offset, reason); in add_boot()
1526 SD_ID128_FORMAT_VAL(arg_boot_id), reason); in add_boot()
/systemd-251/src/shared/
Dconf-parser.c1203 Disabled reason = ltype; in config_parse_warn_compat() local
1205 switch (reason) { in config_parse_warn_compat()
/systemd-251/test/
DREADME.testsuite161 does not show the status for some reason

123