Users Guide
或
gsettings set org.gnome.settings-daemon.plugins.power power-button-
action 'interactive'
b dconf update
• 使用以下步骤更改默认行为:
a 使用具有以下内容的 /etc/dconf/db/local.d/01-power 创建一个文件:
[org/gnome/settings-daemon/plugins/power]
button-sleep='nothing'
button-suspend='nothing'
button-hibernate='nothing'
button-power='shutdown'
b 使用具有以下内容的 /etc/dconf/db/local.d/locks/01-power 创建一个文件:
/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
c 运行以下命令:dconf update
d 在系统范围内的设置生效之前,用户必须注销并再次登录。
注: 当系统锁定时,上述解决方法不起作用。当系统锁定时,GNOME 可避免意外关机。作为安全预防措施,GNOME 将不允许
任何关机相关的操作,例如从 iDRAC 等任何系统管理界面关机或按电源按钮,除非用户已激活并登录操作系统。
注: 以上步骤不适用于 RHEL 7.4。RHEL 7.4 的解决办法是安装 acpid 软件包,并使用以下内容替换 /etc/acpi/actions/
power.sh:
#!/bin/sh
PATH=/usr/sbin:/usr/bin
shutdown -h now
在 Red Hat Enterprise Linux 7 上启动 OMSA 服务时,
发生内核严重错误
说明:
在 Red Hat Enterprise Linux 7 上启动 OpenManage Server Administrator (OMSA) 服务时,发生内核严重错误。
适用于:
Red Hat Enterprise Linux 7.0
原因:
内核可能花费较多时间执行内核计时器功能,并设置一个标志以防其他代码重置计时器硬件(APIC 计时
器)。之后会对计时器硬件进行编程,将运行内核计时器功能的超时设定为最多 100 毫秒。在计时器硬件下
次中断时,此标记将被清除。但是,如果某个特定代码路径中可忽略此标记,则内核会出现一个错误。在这
种情况下,计时器硬件可能被设置为错误的超时值。在没有运行内核计时器功能期间,这个错误的超时值可
能超过 10 秒。
解决方法:
将内核更新到 Z 流内核。
无法在 UEFI 模式下安装 Red Hat Enterprise Linux 7
说明:
在安装 Red Hat Enterprise Linux 7 过程中,Anaconda 安装程序无法使用 EFIbootmgr 在 UEFI 模式下创建引
导项。
适用于:
Red Hat Enterprise Linux 7.0
原因:
(在 BIOS 下)硬盘驱动器 C:的引导变量大于 1024 字节时,EFIbootmgr 无法创建 UEFI 引导项。这是一
个已知的限制。
14
安装前的问题或限制