Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
kdump.2364
kdump-bind-mount-sysroot.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-bind-mount-sysroot.patch of Package kdump.2364
From: Petr Tesarik <ptesarik@suse.com> Subject: Convert sysroot to a bind mount in kdump initrd References: bsc#976864 Patch-mainline: not yet In SLES 12 SP2, systemd-fstab-generator no longer ignores non-device root mounts, so it tries to run an actual mount command for root=kdump. This fails, of course, because "kdump" is not mountable. To solve this, pass "rootflags=bind" to the panic kernel, so systemd can create a (bogus) bind mount and be happy. See also kdump-root-parameter.patch. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- init/load.sh | 2 +- init/module-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/init/load.sh +++ b/init/load.sh @@ -71,7 +71,7 @@ function build_kdump_commandline() # Use deadline for saving the memory footprint commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory" commandline="$commandline irqpoll ${nr_cpus}=${KDUMP_CPUS:-1}" - commandline="$commandline root=kdump rd.udev.children-max=8" + commandline="$commandline root=kdump rootflags=bind rd.udev.children-max=8" case $(uname -i) in i?86|x86_64) local boot_apicid=$( --- a/init/module-setup.sh +++ b/init/module-setup.sh @@ -126,7 +126,7 @@ kdump_gen_mount_units() { echo "${line[@]}" >> "$fstab" done - echo "root=kdump" > "$initdir/proc/cmdline" + echo > "$initdir/proc/cmdline" inst_binary -l \ "$systemdutildir/system-generators/systemd-fstab-generator" \ "/tmp/systemd-fstab-generator"
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