From 0843c706723b825653ba4a5d6b1106332d5ed4c8 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Wed, 13 Jan 2021 17:12:18 +0800 Subject: [PATCH] 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 539bff40830e961d7ef85248e39bff0e40b23c91. Signed-off-by: Kairui Song Acked-by: Pingfan Liu --- mkdumprd | 3 --- 1 file changed, 3 deletions(-) diff --git a/mkdumprd b/mkdumprd index 0623940..8ba8e2a 100644 --- a/mkdumprd +++ b/mkdumprd @@ -86,9 +86,6 @@ to_mount() { # drop nofail or nobootwait _options=$(echo $_options | sed 's/\(^\|,\)nofail\($\|,\)/\1/g') _options=$(echo $_options | sed 's/\(^\|,\)nobootwait\($\|,\)/\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" }