SHA256
1
0
forked from pool/mcelog
mcelog/mcelog.systemd
Thomas Renninger d1c9d49d64 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
2019-09-18 09:22:49 +00:00

15 lines
363 B
Plaintext

[Unit]
Description=Machine Check Exception Logging Daemon
ConditionVirtualization=false
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
[Install]
WantedBy=multi-user.target