On 2023-03-05, mabi <m...@protonmail.ch> wrote: > Hello > > Is it possible to have OpenBSD 7.2 automatically reboot after a kernel panic > happens? > > I tried setting: > > ddb.panic=0 > > but it does not reboot automatically. > > As I am affected by the pfsync issue which leads to a kernel panic on OpenBSD > 7.2 so I would like the firewall to reboot as soon as this happens.
That is the only common way to do it (though on some machines there's a supported hardware watchdog which would have a similar effect), but of course you're at risk of fsck failures when coming back after a panic. You could run a snapshot instead..