I already have that enabled as it use to work fine (around 5.6ish I think).

$ rcctl get apmd
apmd_class=daemon
apmd_flags=
apmd_timeout=30
apmd_user=root

But currently on 5.9 it is ignore the acpi shutdown command.
Not the biggest of deals though as I usually just stop the vm before updating my SmartOS pi.


On 2016-06-06 22:29, Tamas Gerczei wrote:
Slightly off-topic, but a direct response regarding ACPI vs OpenBSD:
this is only true if you don't run apmd. (Which is supplied, so adding
'apmd_flags=""' to '/etc/rc.conf.local' and then starting it via
'/etc/rc.d/apmd start' will do.)

Jorge Schrauwen wrote:
I generally use 'shutdown -g0 -i5 -y' for poweroff en 'shutdown -f0 -i6
-y' for reboots and it stops the zones.

KVM zones get a ACPI shutdown signel, from my experience windows does
the right thing, linux too if acpi stuff is installed. OpenBSD just
ignores it unfortunately.

---
~ sjorge

On 2016-06-06 19:53, Paul Sture wrote:
On 6 Jun 2016, at 19:40, Gareth Howell wrote:

I’m monitoring this with interest.

If I issue a shutdown to the global zone on the server, will the
zones have had the chance to do a  graceful shutdown before the
global zone shuts down?


I do regular shutdowns from the global zone and in my experience
'poweroff' waits until all the zones have done a graceful shutdown.

In the last year I've had a couple of instances where a zone hasn't
closed in response to a 'poweroff' and either hung or provoked a
timeout error. Sorry I didn't research the reasons for the timeout - I
managed to ssh into the offending zone and do a poweroff inside that,
then reissued the GZ poweroff.







-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to