5709ea8d39
- mcelog.tmpfiles, mcelog-socket-path.patch, move socket and pid file to /run/mcelog directory. This update may require reboot as the relevant rpm macro tmpfiles_create is not yet in any product. OBS-URL: https://build.opensuse.org/request/show/250300 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=45
14 lines
407 B
Diff
14 lines
407 B
Diff
--- mcelog-1.0.1.orig/paths.h
|
|
+++ mcelog-1.0.1/paths.h
|
|
@@ -4,8 +4,8 @@
|
|
#define DIMM_DB_FILENAME PREFIX "/var/lib/memory-errors"
|
|
#define CONFIG_FILENAME PREFIX "/etc/mcelog/mcelog.conf"
|
|
|
|
-#define SOCKET_PATH "/var/run/mcelog-client"
|
|
+#define SOCKET_PATH "/run/mcelog/mcelog-client"
|
|
|
|
#define LOG_FILE "/var/log/mcelog"
|
|
|
|
-#define PID_FILE "/var/run/mcelog.pid"
|
|
+#define PID_FILE "/run/mcelog/mcelog.pid"
|