Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
kdump.25799
kdump-ensure-initrd.target.wants-directory.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-ensure-initrd.target.wants-directory.patch of Package kdump.25799
Date: Wed Jul 29 14:40:10 2020 +0800 From: Shung-Hsi Yu <shung-hsi.yu@suse.com> Subject: Make sure that initrd.target.wants directory exists References: bsc#1172670 Upstream: merged Git-commit: 506794bf323ceb27f4796e60e311fad11e6d6986 Creation of symbolic link to kdump-save.service will fail if the directory doesn't exists, and dump will not be captured because kdump-save.service is never started. The user will see the rescue mode prompt when the kernel crashed because systemd will proceed to initrd-switch-root, which will fail (thus triggering rescue mode) because kdump initrd does not setup /sysroot properly. Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com> --- init/module-setup.sh | 1 + 1 file changed, 1 insertion(+) --- a/init/module-setup.sh +++ b/init/module-setup.sh @@ -289,6 +289,7 @@ install() { done ) > "$_d"/kdump.conf + mkdir -p "$initdir/$systemdsystemunitdir"/initrd.target.wants ln_r "$systemdsystemunitdir"/kdump-save.service \ "$systemdsystemunitdir"/initrd.target.wants/kdump-save.service else
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