Revert "Append both nofail and x-systemd.before to kdump mount target"
Resolves: bz2164929 Upstream: Fedora Conflict: Missing upstream commit 94a7b4("Always drop nofail or nobootwait options") commit0843c70672
Author: Kairui Song <kasong@redhat.com> Date: Wed Jan 13 17:12:18 2021 +0800 Revert "Append both nofail and x-systemd.before to kdump mount target" That commit is trying to workaround a kernel VFS bug. Now, the VFS issue should have been fixed in all recent releases, so remove this workaround. This reverts commit539bff4083
. Signed-off-by: Kairui Song <kasong@redhat.com> Acked-by: Pingfan Liu <piliu@redhat.com> Signed-off-by: Lichen Liu <lichliu@redhat.com>
This commit is contained in:
parent
cfe6f17f1e
commit
68d02c2a53
3
mkdumprd
3
mkdumprd
@ -84,9 +84,6 @@ to_mount() {
|
||||
# with 'noauto' in fstab nfs and non-root disk mount will fail in 2nd
|
||||
# kernel, filter it out here.
|
||||
_options=$(echo $_options | sed 's/\(^\|,\)noauto\($\|,\)/\1/g')
|
||||
# use both nofail and x-systemd.before to ensure systemd will try best to
|
||||
# mount it before kdump starts, this is an attempt to improve robustness
|
||||
_options="$_options,nofail,x-systemd.before=initrd-fs.target"
|
||||
|
||||
echo "$_pdev $_new_mntpoint $_fstype $_options"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user