Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
kdump.21348
kdump-activate-udev-rules-late-during-boot.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-activate-udev-rules-late-during-boot.patch of Package kdump.21348
From 3405c3b3b53f35459f425d7cf3c0ffaf759cade4 Mon Sep 17 00:00:00 2001 From: Martin Wilck <mwilck@suse.com> Date: Mon, 27 Jan 2020 17:30:24 +0100 Subject: kdump: activate udev rules late during boot References: bsc#1154837 Upstream: merged Git-commit: 3405c3b3b53f35459f425d7cf3c0ffaf759cade4 The kdump udev rule is very broad in scope and may slow down booting strongly, especially during the coldplug phase where "add" events for lots of CPU and memory devices have to be processed. Therefore, activate this rule (which has the purpose to support real hotplug rather than coldplug) late in the boot sequence. --- CMakeLists.txt | 2 +- init/kdump.service | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,7 +206,7 @@ ADD_CUSTOM_TARGET( INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/70-kdump.rules DESTINATION - /etc/udev/rules.d + /usr/lib/kdump ) # --- a/init/kdump.service +++ b/init/kdump.service @@ -5,6 +5,8 @@ After=local-fs.target network.service Ya [Service] Type=oneshot ExecStart=/lib/kdump/load.sh --update +ExecStartPost=-/usr/bin/cp /usr/lib/kdump/70-kdump.rules /run/udev/rules.d/70-kdump.rules +ExecStopPost=-/usr/bin/rm -f /run/udev/rules.d/70-kdump.rules ExecStop=/lib/kdump/unload.sh RemainAfterExit=true
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor