Release Notes

Table Of Contents
Unable to shut down Red Hat Enterprise Linux 7 when
you select Graceful shutdown option or when you
press power button on system
Description: When you select the Graceful shutdown option from any system management interface such as iDRAC
or press the power button, the system goes to suspended state and stops all the tasks or does nothing.
So, firmware updates through iDRAC would take longer than expected as iDRAC sends out Graceful
shutdown signal but the system does not shut down.
Applies to: Red Hat Enterprise Linux 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, and 7.6
Cause: By default, the Power button action is mapped to the Suspended state in the System settings.
Solution: Update the Power button action manually to perform shut down by one of the following methods:
Go to Power settings > Suspend & Power button actions, and then select Power off for "When
the Power button is pressed"
or
Run the command: "gnome-tweak-tool", and then go to Power settings > Suspend & Power
button actions for "When Power Button is pressed"
Execute the following commands with root privileges:
1. gsettings set org.gnome.settings-daemon.plugins.power button-power
shutdown
or
gsettings set org.gnome.settings-daemon.plugins.power power-button-
action 'interactive'
2. dconf update
Change the default behavior using the following steps:
1. Create a file using /etc/dconf/db/local.d/01-power with the following contents:
[org/gnome/settings-daemon/plugins/power]
button-sleep='nothing'
button-suspend='nothing'
button-hibernate='nothing'
button-power='shutdown'
2. Create a file using /etc/dconf/db/local.d/locks/01-power with the following contents:
/org/gnome/settings-daemon/plugins/power/button-sleep
/org/gnome/settings-daemon/plugins/power/button-suspend
/org/gnome/settings-daemon/plugins/power/button-hibernate
/org/gnome/settings-daemon/plugins/power/button-power
3. Run the command: dconf update
4. User must log out and log in again before the system-wide settings take effect.
NOTE:
The above workaround may not work when the system is locked. GNOME prevents the accidental shutdown when
system is locked. As a security precaution, GNOME does not allow any power related actions such as shutdown from any
system management interfaces like iDRAC or pressing the power button unless the user is active and logged in OS.
NOTE: The preceding steps are not applicable to RHEL 7.4. The workaround for RHEL 7.4 is to install the acpid package,
and replace /etc/acpi/actions/power.sh content with the following content:
#!/bin/sh
PATH=/usr/sbin:/usr/bin
shutdown -h now
30 Known issues