SHA256
1
0
forked from pool/mcelog

Accepting request 730795 from home:jdelvare:branches:Base:System

- mcelog.systemd: Preload the dmi-sysfs kernel module.

When /dev/mem can't be read (which is the case when booting in Secure Mode), mcelog can use the dmi-sysfs interface instead, however for that the kernel module needs to be loaded first (bsc#1149186).

OBS-URL: https://build.opensuse.org/request/show/730795
OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=77
This commit is contained in:
Thomas Renninger 2019-09-18 09:22:49 +00:00 committed by Git OBS Bridge
parent 776c7df9aa
commit d1c9d49d64
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Sep 13 16:04:20 UTC 2019 - Jean Delvare <jdelvare@suse.com>
- mcelog.systemd: Preload the dmi-sysfs kernel module.
When /dev/mem can't be read (which is the case when booting in
Secure Mode), mcelog can use the dmi-sysfs interface instead,
however for that the kernel module needs to be loaded first
(bsc#1149186).
-------------------------------------------------------------------
Fri Sep 06 11:25:34 UTC 2019 - MMuschner@suse.com

View File

@ -6,6 +6,7 @@ ConditionPathExists=/dev/mcelog
[Service]
EnvironmentFile=-/etc/sysconfig/mcelog
ExecStartPre=/sbin/modprobe msr
ExecStartPre=/sbin/modprobe dmi-sysfs
ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground
StandardOutput=syslog