22 lines
737 B
Diff
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
|