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")

commit 0843c70672
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 commit 539bff4083.

    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:
Lichen Liu 2023-06-08 11:02:06 +08:00
parent cfe6f17f1e
commit 68d02c2a53
1 changed files with 0 additions and 3 deletions

View File

@ -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"
}