SHA256
1
0
forked from pool/kdump
kdump/kdump-do-not-check-bind-mount.patch
Petr Tesařík 0e3d6319a6 Accepting request 505037 from home:michals:SLE12-SP3
- kdump-do-not-free-fadump-memory-when-immediate-reboot-is-requested.patch
  Releasing fadump memory can take a long time so skip it when
  rebooting anyway (bsc#1040610)

- kdump-remount-sysroot-readwrite.patch: Also remount writable
  any mounts that were already mounted readonly by systemd (bsc#1034169)

- kdump-source-save_dump.patch: save_dump.sh is designed to be
  sourced and has numerous toplevel return statements. Source it
  from the service definition as well to prevent bash complaints.

OBS-URL: https://build.opensuse.org/request/show/505037
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=131
2017-06-21 13:22:09 +00:00

22 lines
737 B
Diff

Subject: Do not request filesystem check on bind mounts
References: bsc#1034169
When creating fstab for kdump bind mounts the dump and fsck fields are not
specified. These should be 0 because the directory which is bind-mounted cannot
be checked nor dumped.
Reported-by: Neil Brown <nfbrown@suse.com>
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
--- kdump-0.8.16/init/module-setup.sh~ 2017-06-01 16:56:11.765609113 +0200
+++ kdump-0.8.16/init/module-setup.sh 2017-06-01 16:58:31.295723256 +0200
@@ -168,7 +168,7 @@
do
line=( ${fstab_lines[i]} )
if [ "${line[1]%/*}" = "/kdump" ] ; then
- fstab_lines[i]="/sysroot ${line[1]} none bind"
+ fstab_lines[i]="/sysroot ${line[1]} none bind 0 0"
fi
done
fi