Issues with Reboot / Power Off from OPNSense GUI running in Unraid VM.

Started by mrzaz, June 22, 2026, 08:32:54 PM

Previous topic - Next topic
Hello,

I had some HW breakdown that led me to temporary run OpnSense as a VM under Unraid.
This works OK as such but have some weird issue seen when I try to start a reboot or shutdown from the Web GUI.

Regardless if I click on Reboot or Power Off nothing happens (apart from web gui saying that it is shutting down)
if I check the console. No messages indicating that the system is about to go down or reboot.

I have waited for a long time but still nothing happens.

If I then, from the console, try to reboot or power off then I could see that it starts to go down as it should.

is there anyone else who have seen this issue ?
Either as VM or on native HW.

Best regards
Dan Lundqvist
Stockholm, Sweden
Best regards
Dan Lundqvist (mrzaz)

"It's better to burn up, than fade away..." (Highlander)

Is ACPI enabled for your VM?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on June 22, 2026, 09:12:42 PMIs ACPI enabled for your VM?

I think so, but will doublecheck.

However, as I mentioned, it is not that it hangs anywhere in the shutdown, but rather that it does not indicating anything in the console that a shutdown has been initiated and it just stays forever (when selected from webGUI). WebGUI says shutdown in progress, but console says nothing.

BUT, if I select shutdown from the console it immediately starts showing that a shutdown sequence has started and stopping everything and finally shuts down/ powers off.

I do have some issues with Suricata PID takes forever to die but that is a separate topic. 🙂

Best regards
Dan Lundqvist
Best regards
Dan Lundqvist (mrzaz)

"It's better to burn up, than fade away..." (Highlander)

Has your OPNsense installed the os-vmware plugin?
Every morning, I wake up and check the Forbes list first. If I'm not on it, I go to work.

Quote from: wincent on Today at 02:58:09 AMHas your OPNsense installed the os-vmware plugin?

Nope, as this is not VMWare but rather QEMU under Unraid.
AFAIK there is no QEMU vm support in OpnSense.

Regardless, if the power off has stopped working, the power off from console should behave the same or?
It doesn't even try to start shutdown. Like any low level web script to start shutdown.

Basically
/ui/core/reboot
/ui/core/halt
Best regards
Dan Lundqvist (mrzaz)

"It's better to burn up, than fade away..." (Highlander)

Quote from: mrzaz on Today at 10:00:35 AM...
AFAIK there is no QEMU vm support in OpnSense.
...

os-qemu-guest-agent is under community plugins ;)

Quote from: mrzaz on Today at 10:00:35 AMNope, as this is not VMWare but rather QEMU under Unraid.

Sorry, my mistake, if your VM using UEFI not legacy BIOS, try this:
sysctl hw.efi.poweroff=0
If this works, add to System->Settings->Tunables
OR
echo "hw.efi.poweroff=0" >> /etc/sysctl.conf
Every morning, I wake up and check the Forbes list first. If I'm not on it, I go to work.