WTF. This morning at 09:54 one of my OpenBSD VMs rebooted (in an orderly fashion, I see messages from various services to that end).
What I don't see is any reason for the shutdown? No kernel message, no error message, no obvious command in the process accounting log, no nothing?
Stuff like this doesn't help my paranoia...
Hrm. Does the process accounting on OpenBSD not record reboot commands?
When I run reboot(8), I see an "reboot: rebooted by bochmann" entry from the kernel in messages, but there's no record of that command in the lastcomm(1) output...
(Anyways, there's no reboot: message in the log from the event this morning either.)
@galaxis I’ve been working on a similar thing for Linux and thought that this sounds an awful lot like it only accounts when the exec *returns* which it never would for the reboot command because the machine powers off before it can.
This seems to be confirmed by (and apologies if I’m barking up the wrong tree here - I’m not an OpenBSD user, just interested in the problem space on Unixes) the `acct` man page which says: “For every process initiated which terminates under normal conditions or misbehaves in very specific ways (e.g. file access prevented by unveil), an accounting record is appended to file.”
@galaxis if you log all *entries* to execve syscalls under Linux you end up being spammed by shell $PATH searches and I’d be surprised if OpenBSD is any different.
@galaxis This would be my first guess as well. I had the same phenomenon (only once) with on of my VMs at Netcup.
And no, I've never seen an ACPI event recorded.
@_xhr_ Yeah, it's a Netcup VM actually. There's no activity recorded in their control panel either, though.
@galaxis Next guess: They see a critical event in their monitoring for the host machine and decide to ACPI power down all VMs. Not nice, but better than crashed VMs...
@mmu_man Heh. That just leaves all the rest of the Internet... Or some admin blunder that I'm just not able to see right now...
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!