Hi team!
Here's a case that There Is a High Probability that a SUSE 10 SP1 System Fails to Be Shut Down by Using the ACPI.
Symptom
There is a high probability that a SUSE 10 SP1 system fails to be shut down by using ACPI.
However, the VM can be shut down successfully by using the shutdown or init command.
The procedure is as follows:
1. Start the VM.
2. Use the shutdownFlags (self, 2) interface to shut down the VM from the outside in ACPI mode.
Possible Causes
The procedure of shutting down the VM by using ACPI is as follows:
1. The VM receives a message that the SCI is interrupted.
2. The VM kernel processes an ACPI shut down event,
and writes button/power PWRF 00000080 00000005 in the /proc/acpi/event file.
3. The acpid service monitors the /proc/acpi/event file.
After receiving a message, the server reads this message and writes it into the /var/run/acpid.socket file.
4. The powersaved service monitors the /var/run/acpid.socket file.
After receiving this message, the service invokes the wm_shutdown script.
5. The wm_shutdown script invokes shutdown -h now to shut down the VM.
If you fail to shut down the VM, run the acpi_listen command to read ACPI shut down messages received by the VM.

After further checking, the powersaved service is found to be abnormal.
It does not monitor the /var/run/acpid.socket file.
Therefore, strace is used to trace the powersaved service.

During the initialization of the powersaved service, a reading error occurs and the reading process waits. The powersaved service does not read data in /var/run/acpid.socket, causing the shutdown process to be failed.
After searching using Google, the powersaved service has such bugs.
SUSE systems of new versions no longer use the powersaved service and do not have this problem.
Handling Procedure
The Guest OS has received a shutdown message from the ACPI, but an error occurs during the initialization of the powersaved service, causing the shutdown failure.
You can use the VMTools to shut down the VM, or forcibly shut down the VM after the external shutdown fails without using the ACPI notification.
The methods to shut down VMTools are as follows:
The python shutdown interface shutdownFlags uses 3 to shut down the VM from the guest agent:
shutdownFlags (self, 3)