upsmon is configured to automatically shutdown the system upon power failure.
However, the shutdown seems to fail halfway, leaving me without remote access to the system:
Feb 2 12:21:54 the_host upsmon: Executing automatic power-fail shutdown Feb 2 12:21:54 the_host shutdown: power-down by root: Stopping cron. Waiting for PIDS: 3871. Stopping zfsd. Waiting for PIDS: 3857. Stoppingthejail....arp: writing to routing socket: No such file or directory bridge0: can't disable some capabilities on em0: 0x1 Unmounting user-supplied file-systems 90 second watchdog timeout expired. Shutdown terminated. Fri Feb 2 12:23:55 CET 2018 Feb 2 12:23:55 the_host init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode Feb 2 12:23:55 the_host init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode Feb 2 12:23:55 the_host upsd: mainloop: Interrupted system call Feb 2 12:23:55 the_jail syslogd: exiting on signal 15 Feb 2 12:24:15 init: some processes would not die; ps axl advised
Physical access is required to reboot.
1. How can I make sure the shutdown completes and leaves the system in a powered off state (so that I may boot it via an ethernet magic packet)?
2. How can I ensure to maintain remote access in said scenario?