1 commit 1b57b0ac3c5e1afca9fcd17952391ef398fd8ef7
2 Author: Andreas Grueninger <andreas.grueninger@nomail.com>
3 Date: Sat Oct 22 18:28:27 2016 +0200
5 Fix: watchdog : compiles now on Solaris/Illumos …
7 It compiles and the reboot will work.
8 But all accesses to procfs will produce failures.
9 If the functionality is required further investigations are necessary.
11 diff --git a/lib/common/watchdog.c b/lib/common/watchdog.c
12 index 022884f..da0a0e4 100644
13 --- a/lib/common/watchdog.c
14 +++ b/lib/common/watchdog.c
15 @@ -142,7 +142,11 @@ pcmk_panic_local(void)
18 /* reboot(RB_HALT_SYSTEM); rc = errno; */
20 + reboot(RB_AUTOBOOT, (char *)"reboot initiated by pacemaker");
26 do_crm_log_always(LOG_EMERG, "Reboot failed, escalating to %d: %s (%d)", ppid, pcmk_strerror(rc), rc);